Browse Source

closes https://github.com/assimp/assimp/issues/1758: fix compiler warning.

Kim Kulling 7 years ago
parent
commit
84957faa16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/unit/utRemoveComponent.cpp

+ 1 - 1
test/unit/utRemoveComponent.cpp

@@ -110,7 +110,7 @@ void RemoveVCProcessTest::SetUp()
     char check[sizeof(aiMaterial) == sizeof(aiMaterial) ? 10 : -1];
     char check[sizeof(aiMaterial) == sizeof(aiMaterial) ? 10 : -1];
     check[0] = 0;
     check[0] = 0;
     // to remove compiler warning
     // to remove compiler warning
-    EXPECT_TRUE( check );
+    EXPECT_EQ( 0, check[0] );
 }
 }
 
 
 // ------------------------------------------------------------------------------------------------
 // ------------------------------------------------------------------------------------------------