From 0059b4a1ccc0d18f2aec13160caceda8884a6a66 Mon Sep 17 00:00:00 2001 From: takase1121 <20792268+takase1121@users.noreply.github.com> Date: Wed, 7 Jul 2021 12:37:07 +0800 Subject: [PATCH] remove duplicated constants --- src/api/process.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/api/process.c b/src/api/process.c index 772bd1fe..aabf3ed1 100644 --- a/src/api/process.c +++ b/src/api/process.c @@ -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; }