FIX: Initialize uninitialized enum in unittest.

pull/4731/head
Kim Kulling 2022-09-18 17:36:21 +02:00
parent f59dd695c8
commit 34eaf2d092
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public:
EXPECT_NE(nullptr, scene);
EXPECT_NE(nullptr, scene->mMaterials);
aiShadingMode shading_mode;
aiShadingMode shading_mode = aiShadingMode_Flat;
scene->mMaterials[0]->Get(AI_MATKEY_SHADING_MODEL, shading_mode);
EXPECT_EQ(aiShadingMode_Flat, shading_mode);
}