Fixed some warnings related to empty statement when using assert & building in release mode

This commit is contained in:
Léo Terziman
2014-12-18 11:01:16 +01:00
parent 469db95cd5
commit b367d9b390
2 changed files with 2 additions and 2 deletions

View File

@@ -1952,7 +1952,7 @@ void ColladaParser::ReadIndexData( Mesh* pMesh)
// small sanity check
if (primType != Prim_TriFans && primType != Prim_TriStrips)
ai_assert(actualPrimitives == numPrimitives);
ai_assert(actualPrimitives == numPrimitives)
// only when we're done reading all <p> tags (and thus know the final vertex count) can we commit the submesh
subgroup.mNumFaces = actualPrimitives;