2
0
Эх сурвалжийг харах

Merge pull request #1762 from assimp/issue_1758

closes https://github.com/assimp/assimp/issues/1758: fix compiler war…
Kim Kulling 7 жил өмнө
parent
commit
455ff4ab81

+ 1 - 1
test/unit/utRemoveComponent.cpp

@@ -111,7 +111,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] );
 }
 }
 
 
 // ------------------------------------------------------------------------------------------------
 // ------------------------------------------------------------------------------------------------