aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 34856950..1ba2997c 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.166 2012/09/11 18:21:44 roberto Exp roberto $ 2** $Id: lapi.c,v 2.167 2012/10/19 15:52:46 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*/
@@ -1104,7 +1104,7 @@ LUA_API int lua_error (lua_State *L) {
1104 lua_lock(L); 1104 lua_lock(L);
1105 api_checknelems(L, 1); 1105 api_checknelems(L, 1);
1106 luaG_errormsg(L); 1106 luaG_errormsg(L);
1107 lua_unlock(L); 1107 /* code unreacheable; will unlock when control actually leaves the kernel */
1108 return 0; /* to avoid warnings */ 1108 return 0; /* to avoid warnings */
1109} 1109}
1110 1110