diff options
Diffstat (limited to 'lbaselib.c')
| -rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lbaselib.c,v 1.258 2011/01/07 12:41:48 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.259 2011/01/26 16:30:02 roberto Exp roberto $ |
| 3 | ** Basic library | 3 | ** Basic library |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -395,7 +395,7 @@ static int luaB_select (lua_State *L) { | |||
| 395 | 395 | ||
| 396 | 396 | ||
| 397 | static int pcallcont (lua_State *L) { | 397 | static int pcallcont (lua_State *L) { |
| 398 | int errfunc; /* call has an error function in bottom of the stack */ | 398 | int errfunc = 0; /* =0 to avoid warnings */ |
| 399 | int status = lua_getctx(L, &errfunc); | 399 | int status = lua_getctx(L, &errfunc); |
| 400 | lua_assert(status != LUA_OK); | 400 | lua_assert(status != LUA_OK); |
| 401 | lua_pushboolean(L, (status == LUA_YIELD)); /* first result (status) */ | 401 | lua_pushboolean(L, (status == LUA_YIELD)); /* first result (status) */ |
