diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-02-23 14:30:22 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-02-23 14:30:22 -0300 |
commit | d55bb795faaa3a632aeb92fd29fc12b796ae7968 (patch) | |
tree | e81b84b41de1264dd078cec37541716ba0ffcf27 /lauxlib.c | |
parent | d84cc9d2dbf1f44e7126fe3ed9a82eed9757a63a (diff) | |
download | lua-d55bb795faaa3a632aeb92fd29fc12b796ae7968.tar.gz lua-d55bb795faaa3a632aeb92fd29fc12b796ae7968.tar.bz2 lua-d55bb795faaa3a632aeb92fd29fc12b796ae7968.zip |
details
Diffstat (limited to 'lauxlib.c')
-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 | } |