From 84957faa163ede7ab6da24f1b2a2a7d360c4351c Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Fri, 2 Feb 2018 19:50:34 +0100 Subject: [PATCH] closes https://github.com/assimp/assimp/issues/1758: fix compiler warning. --- test/unit/utRemoveComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/utRemoveComponent.cpp b/test/unit/utRemoveComponent.cpp index 31e47b77c..4556e201e 100644 --- a/test/unit/utRemoveComponent.cpp +++ b/test/unit/utRemoveComponent.cpp @@ -110,7 +110,7 @@ void RemoveVCProcessTest::SetUp() char check[sizeof(aiMaterial) == sizeof(aiMaterial) ? 10 : -1]; check[0] = 0; // to remove compiler warning - EXPECT_TRUE( check ); + EXPECT_EQ( 0, check[0] ); } // ------------------------------------------------------------------------------------------------