Update utRemoveComponent.cpp

closes https://github.com/assimp/assimp/issues/3183
This commit is contained in:
Kim Kulling
2020-05-25 20:40:19 +02:00
committed by GitHub
parent 8d98d8a72d
commit c94ed5c7b1

View File

@@ -98,13 +98,6 @@ void RemoveVCProcessTest::SetUp() {
pScene->mCameras = new aiCamera *[pScene->mNumCameras = 2];
pScene->mCameras[0] = new aiCamera();
pScene->mCameras[1] = new aiCamera();
// COMPILE TEST: aiMaterial may no add any extra members,
// so we don't need a virtual destructor
char check[sizeof(aiMaterial) == sizeof(aiMaterial) ? 10 : -1];
check[0] = 0;
// to remove compiler warning
EXPECT_EQ(0, check[0]);
}
// ------------------------------------------------------------------------------------------------