From 0d88545b82b82671904474499b5d312141170ab6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 3 Apr 2003 10:35:34 -0300 Subject: warnings from several compilers (mainly typecasts when lua_Number is float) --- lparser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lparser.c') diff --git a/lparser.c b/lparser.c index 722c5bb8..0ebb1ee3 100644 --- a/lparser.c +++ b/lparser.c @@ -1,5 +1,5 @@ /* -** $Id: lparser.c,v 1.206 2003/02/18 16:02:56 roberto Exp roberto $ +** $Id: lparser.c,v 1.207 2003/02/28 17:19:47 roberto Exp roberto $ ** Lua Parser ** See Copyright Notice in lua.h */ @@ -961,7 +961,7 @@ static void cond (LexState *ls, expdesc *v) { static void whilestat (LexState *ls, int line) { /* whilestat -> WHILE cond DO block END */ Instruction codeexp[MAXEXPWHILE + EXTRAEXP]; - int lineexp = 0; + int lineexp; int i; int sizeexp; FuncState *fs = ls->fs; -- cgit v1.2.3-55-g6feb