luainstance.cpp: init var

This commit is contained in:
Jacek Jendrzej
2020-01-21 15:22:05 +01:00
parent 94be52cfea
commit 6704e0de9f

View File

@@ -636,7 +636,7 @@ void LuaInstRegisterFunctions(lua_State *L, bool fromThreads/*=false*/)
{ NULL, NULL } { NULL, NULL }
}; };
// ------------------------------------------ // ------------------------------------------
int top; int top = 0;
if (fromThreads) if (fromThreads)
top = lua_gettop(L); top = lua_gettop(L);