more VS2012 L4 warning fixes

This commit is contained in:
Thomas Fischer 2014-03-15 11:51:36 +01:00
parent 502e346eb6
commit 2844ab6912
20 changed files with 30 additions and 8 deletions

View file

@ -198,6 +198,7 @@ bool ForestData::write( const char *path )
for ( U32 i=0; i < count; i++ )
{
StringTableEntry localName = allDatablocks[i]->getInternalName();
TORQUE_UNUSED(localName);
AssertFatal( localName != NULL && localName[0] != '\0', "ForestData::write - ForestItemData had no internal name set!" );
stream.writeString( allDatablocks[i]->getInternalName() );
}