diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 1.209 2002/08/06 18:54:18 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.210 2002/08/07 14:24:24 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -695,7 +695,7 @@ LUA_API void lua_setgcthreshold (lua_State *L, int newthreshold) { | |||
695 | LUA_API int lua_error (lua_State *L) { | 695 | LUA_API int lua_error (lua_State *L) { |
696 | lua_lock(L); | 696 | lua_lock(L); |
697 | api_checknelems(L, 1); | 697 | api_checknelems(L, 1); |
698 | luaG_errormsg(L, 0); | 698 | luaG_errormsg(L); |
699 | lua_unlock(L); | 699 | lua_unlock(L); |
700 | return 0; /* to avoid warnings */ | 700 | return 0; /* to avoid warnings */ |
701 | } | 701 | } |