From d55bb795faaa3a632aeb92fd29fc12b796ae7968 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 23 Feb 2005 14:30:22 -0300 Subject: details --- lbaselib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 7acbba4b..908bd71e 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.166 2005/02/14 13:19:44 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.167 2005/02/18 12:40:02 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -283,6 +283,7 @@ static int luaB_loadfile (lua_State *L) { ** reserved slot inside the stack. */ static const char *generic_reader (lua_State *L, void *ud, size_t *size) { + (void)ud; /* to avoid warnings */ luaL_checkstack(L, 2, "too many nested functions"); lua_pushvalue(L, 1); /* get function */ lua_call(L, 0, 1); /* call it */ -- cgit v1.2.3-55-g6feb