From a7fa7bafc808103cbb8e27a3c80168617bac8a4f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 9 Nov 1999 15:59:35 -0200 Subject: new warnings with option "-W" (gcc) --- lua.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua.c') diff --git a/lua.c b/lua.c index ec185a17..88ed4482 100644 --- a/lua.c +++ b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.22 1999/08/16 20:52:00 roberto Exp roberto $ +** $Id: lua.c,v 1.23 1999/08/18 17:40:54 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -45,6 +45,7 @@ static void lstop (void) { static void laction (int i) { + (void)i; /* to avoid warnings */ signal(SIGINT, SIG_DFL); /* if another SIGINT happens before lstop, terminate process (default action) */ old_linehook = lua_setlinehook((lua_LHFunction)lstop); -- cgit v1.2.3-55-g6feb