From 3c394b12f93642aa44efa39a6d7bd6dbb96647f2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 3 Sep 2004 10:17:14 -0300 Subject: [PATCH] detail --- lauxlib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lauxlib.c b/lauxlib.c index 8cfe594b..bf91f102 100644 --- a/lauxlib.c +++ b/lauxlib.c @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.c,v 1.122 2004/08/13 19:52:53 roberto Exp roberto $ +** $Id: lauxlib.c,v 1.123 2004/08/30 18:35:14 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -632,6 +632,7 @@ LUALIB_API int luaL_loadbuffer (lua_State *L, const char *buff, size_t size, static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { (void)ud; + (void)osize; if (nsize == 0) { free(ptr); return NULL;