diff options
Diffstat (limited to 'src/lib/lauxlib.c')
| -rw-r--r-- | src/lib/lauxlib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/lauxlib.c b/src/lib/lauxlib.c index cd4e75f8..7c14d001 100644 --- a/src/lib/lauxlib.c +++ b/src/lib/lauxlib.c @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.c,v 1.123 2004/08/30 18:35:14 roberto Exp $ +** $Id: lauxlib.c,v 1.124 2004/09/03 13:17:14 roberto Exp $ ** 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; |
