War on -Werror, part 14: More hodgepodge.

This commit is contained in:
Jason Felds
2012-12-27 12:45:04 -05:00
parent 52df8ea981
commit a15cbc431d
36 changed files with 68 additions and 68 deletions
+2 -2
View File
@@ -243,7 +243,7 @@ LuaManager::LuaManager()
LUA = this; // so that LUA is available when we call the Register functions
lua_State *L = lua_open();
ASSERT( L );
ASSERT( L != NULL );
lua_atpanic( L, LuaPanic );
m_pLuaMain = L;
@@ -478,7 +478,7 @@ int LuaThreadVariable::AdjustCount( lua_State *L, int iAdd )
ASSERT( lua_istable(L, -1) );
lua_rawgeti( L, -1, 0 );
ASSERT( lua_isnumber(L, -1) );
ASSERT( lua_isnumber(L, -1) != 0 );
int iCount = lua_tointeger( L, -1 );
lua_pop( L, 1 );