remove duplicated constants

This commit is contained in:
takase1121 2021-07-07 12:37:07 +08:00
parent 8e9034b965
commit 0059b4a1cc
1 changed files with 0 additions and 6 deletions

View File

@ -368,11 +368,5 @@ int luaopen_process(lua_State *L)
L_SETNUM(L, -1, "REDIRECT_DISCARD", REPROC_REDIRECT_DISCARD);
L_SETNUM(L, -1, "REDIRECT_STDOUT", REPROC_REDIRECT_STDOUT);
lua_pushnumber(L, REPROC_INFINITE);
lua_setfield(L, -2, "WAIT_INFINITE");
lua_pushnumber(L, REPROC_DEADLINE);
lua_setfield(L, -2, "WAIT_DEADLINE");
return 1;
}