From 937bfcdd9f5922b4043e4ed648d7877c541d54cb Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Mon, 31 Aug 2015 15:49:55 +0000 Subject: MirLua: - fixed memory corruption git-svn-id: http://svn.miranda-ng.org/main/trunk@15127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/lua/lapi.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/MirLua/src/lua/lapi.c') 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 */ } -- cgit v1.2.3