diff --git a/code/AssetLib/AMF/AMFImporter_Material.cpp b/code/AssetLib/AMF/AMFImporter_Material.cpp index 515b5dab1..05ed00848 100644 --- a/code/AssetLib/AMF/AMFImporter_Material.cpp +++ b/code/AssetLib/AMF/AMFImporter_Material.cpp @@ -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);