cleanup
This commit is contained in:
@@ -141,8 +141,7 @@ CString LuaData::Serialize() const
|
|||||||
|
|
||||||
/* The return value is a string, which we store in m_sSerializedData. */
|
/* The return value is a string, which we store in m_sSerializedData. */
|
||||||
const char *pString = lua_tostring( LUA->L, -1 );
|
const char *pString = lua_tostring( LUA->L, -1 );
|
||||||
if( pString == NULL )
|
ASSERT_M( pString != NULL, "Serialize() didn't return a string" );
|
||||||
FAIL_M( "Serialize() didn't return a string" );
|
|
||||||
|
|
||||||
CString sRet = pString;
|
CString sRet = pString;
|
||||||
lua_pop( LUA->L, 1 );
|
lua_pop( LUA->L, 1 );
|
||||||
|
|||||||
Reference in New Issue
Block a user