1
0

Removed a useless check in cLuaState.

This commit is contained in:
madmaxoft 2014-02-04 22:24:03 +01:00
parent 5cdbb6683f
commit 010e64be11

View File

@ -1018,9 +1018,7 @@ void cLuaState::LogStackTrace(lua_State * a_LuaState)
int depth = 0;
while (lua_getstack(a_LuaState, depth, &entry))
{
int status = lua_getinfo(a_LuaState, "Sln", &entry);
assert(status);
lua_getinfo(a_LuaState, "Sln", &entry);
LOGWARNING(" %s(%d): %s", entry.short_src, entry.currentline, entry.name ? entry.name : "(no name)");
depth++;
}