From d55bb795faaa3a632aeb92fd29fc12b796ae7968 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 23 Feb 2005 14:30:22 -0300 Subject: details --- lauxlib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lauxlib.c') diff --git a/lauxlib.c b/lauxlib.c index 79f939da..cccff91b 100644 --- a/lauxlib.c +++ b/lauxlib.c @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.c,v 1.127 2004/12/20 13:47:29 roberto Exp roberto $ +** $Id: lauxlib.c,v 1.128 2005/02/10 17:12:02 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -704,6 +704,7 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { static int panic (lua_State *L) { + (void)L; /* to avoid warnings */ fprintf(stderr, "PANIC: unprotected error during Lua-API call\n"); return 0; } -- cgit v1.2.3-55-g6feb