From 8b5bb6056ba944bfbb4489492a5698a2285fa81a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 22 Sep 2004 09:37:52 -0300 Subject: removal of unused variable --- ldo.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ldo.c') diff --git a/ldo.c b/ldo.c index a016f71a..7f0bbedb 100644 --- a/ldo.c +++ b/ldo.c @@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 2.9 2004/09/08 14:23:09 roberto Exp roberto $ +** $Id: ldo.c,v 2.10 2004/09/15 20:39:42 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -391,7 +391,6 @@ static int resume_error (lua_State *L, const char *msg) { LUA_API int lua_resume (lua_State *L, int nargs) { int status; - lu_byte old_allowhooks; lua_lock(L); lua_assert(L->errfunc == 0 && L->nCcalls == 0); if (L->status != LUA_YIELD) { @@ -400,7 +399,6 @@ LUA_API int lua_resume (lua_State *L, int nargs) { else if (L->ci != L->base_ci) return resume_error(L, "cannot resume non-suspended coroutine"); } - old_allowhooks = L->allowhook; status = luaD_rawrunprotected(L, resume, &nargs); if (status != 0) { /* error? */ L->status = status; /* mark thread as `dead' */ -- cgit v1.2.3-55-g6feb