amf: fix warning: unused variable.

pull/2966/head
Kim Kulling 2020-09-27 21:03:59 +02:00
parent 5230b91611
commit 5877f81419
1 changed files with 0 additions and 4 deletions

View File

@ -5,8 +5,6 @@ Open Asset Import Library (assimp)
Copyright (c) 2006-2020, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
@ -126,12 +124,10 @@ void AMFImporter::ParseNode_Material(XmlNode &node) {
// Check for child nodes
if (!node.empty()) {
bool col_read = false;
ParseHelper_Node_Enter(ne);
for (pugi::xml_node &child : node.children()) {
const std::string name = child.name();
if (name == "color") {
col_read = true;
ParseNode_Color(child);
} else if (name == "metadata") {
ParseNode_Metadata(child);