diff options
Diffstat (limited to '')
| -rw-r--r-- | lauxlib.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lauxlib.c,v 1.127 2004/12/20 13:47:29 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.128 2005/02/10 17:12:02 roberto Exp roberto $ |
| 3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -704,6 +704,7 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { | |||
| 704 | 704 | ||
| 705 | 705 | ||
| 706 | static int panic (lua_State *L) { | 706 | static int panic (lua_State *L) { |
| 707 | (void)L; /* to avoid warnings */ | ||
| 707 | fprintf(stderr, "PANIC: unprotected error during Lua-API call\n"); | 708 | fprintf(stderr, "PANIC: unprotected error during Lua-API call\n"); |
| 708 | return 0; | 709 | return 0; |
| 709 | } | 710 | } |
