From 98816d0ce58db9e817129b076723187d690501df Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 28 Feb 2011 14:32:10 -0300 Subject: small problems with 'luaone.c' --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 64a609fd..67edd96e 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.258 2011/01/07 12:41:48 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.259 2011/01/26 16:30:02 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -395,7 +395,7 @@ static int luaB_select (lua_State *L) { static int pcallcont (lua_State *L) { - int errfunc; /* call has an error function in bottom of the stack */ + int errfunc = 0; /* =0 to avoid warnings */ int status = lua_getctx(L, &errfunc); lua_assert(status != LUA_OK); lua_pushboolean(L, (status == LUA_YIELD)); /* first result (status) */ -- cgit v1.2.3-55-g6feb