forked from Mirrorlandia_minetest/irrlicht
Suppress a -Wunused-but-set-variable warning
This commit is contained in:
parent
0740d055ac
commit
0735220f86
@ -83,7 +83,7 @@ IAnimatedMesh* COBJMeshFileLoader::createMesh(io::IReadFile* file)
|
|||||||
bool mtlChanged=false;
|
bool mtlChanged=false;
|
||||||
bool useGroups = !SceneManager->getParameters()->getAttributeAsBool(OBJ_LOADER_IGNORE_GROUPS);
|
bool useGroups = !SceneManager->getParameters()->getAttributeAsBool(OBJ_LOADER_IGNORE_GROUPS);
|
||||||
bool useMaterials = !SceneManager->getParameters()->getAttributeAsBool(OBJ_LOADER_IGNORE_MATERIAL_FILES);
|
bool useMaterials = !SceneManager->getParameters()->getAttributeAsBool(OBJ_LOADER_IGNORE_MATERIAL_FILES);
|
||||||
irr::u32 lineNr = 1; // only counts non-empty lines, still useful in debugging to locate errors
|
[[maybe_unused]] irr::u32 lineNr = 1; // only counts non-empty lines, still useful in debugging to locate errors
|
||||||
core::array<int> faceCorners;
|
core::array<int> faceCorners;
|
||||||
faceCorners.reallocate(32); // should be large enough
|
faceCorners.reallocate(32); // should be large enough
|
||||||
const core::stringc TAG_OFF = "off";
|
const core::stringc TAG_OFF = "off";
|
||||||
|
Loading…
Reference in New Issue
Block a user