Fix compiler warnings

pull/4427/head
Kim Kulling 2022-03-05 20:37:34 +01:00
parent d4527d4e87
commit 80a8807c47
2 changed files with 4 additions and 8 deletions

View File

@ -82,8 +82,8 @@ static const aiImporterDesc desc = {
// Constructor to be privately used by Importer
LWOImporter::LWOImporter() :
mIsLWO2(),
mIsLWO3(),
mIsLXOB(),
mIsLWO3(),
mLayers(),
mCurLayer(),
mTags(),

View File

@ -885,17 +885,13 @@ void LWOImporter::LoadNodeData(unsigned int size) {
GetS0(valueType, 8);
if (valueType == "int") {
uint32_t value;
value = GetU4();
static_cast<void>(GetU4());
} else if (valueType == "double") {
uint64_t value;
value = GetU8();
static_cast<void>(GetU8());
} else if (valueType == "vparam") {
mFileBuffer += 24;
float value;
value = GetF8();
float value = GetF8();
if (attrName == "Diffuse") {
surf.mDiffuseValue = value;
} else if (attrName == "Specular") {