diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-31 15:49:55 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-31 15:49:55 +0000 |
commit | 937bfcdd9f5922b4043e4ed648d7877c541d54cb (patch) | |
tree | 806e04fe94ff8aa9182a1bb31c8bb0a853829432 /plugins/MirLua/src/lua/lapi.c | |
parent | c4e939d79b82b195604e48e8d1b794da4c42347f (diff) |
MirLua:
- fixed memory corruption
git-svn-id: http://svn.miranda-ng.org/main/trunk@15127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/lua/lapi.c')
-rw-r--r-- | plugins/MirLua/src/lua/lapi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/MirLua/src/lua/lapi.c b/plugins/MirLua/src/lua/lapi.c index fea9eb2765..52e7adfedc 100644 --- a/plugins/MirLua/src/lua/lapi.c +++ b/plugins/MirLua/src/lua/lapi.c @@ -1091,8 +1091,6 @@ LUA_API int lua_error (lua_State *L) { lua_lock(L); api_checknelems(L, 1); luaG_errormsg(L); - /* code unreachable; will unlock when control actually leaves the kernel */ - return 0; /* to avoid warnings */ } |