From 8143ea5aec3be07e3ab4a05a632d73c9f0b9a291 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sun, 27 Sep 2020 20:58:08 +0200 Subject: [PATCH] amf: fix warning: unused variable. --- code/AssetLib/AMF/AMFImporter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/AssetLib/AMF/AMFImporter.cpp b/code/AssetLib/AMF/AMFImporter.cpp index 26a08e322..179197037 100644 --- a/code/AssetLib/AMF/AMFImporter.cpp +++ b/code/AssetLib/AMF/AMFImporter.cpp @@ -454,14 +454,12 @@ void AMFImporter::ParseNode_Object(XmlNode &node) { } // Check for child nodes - bool col_read = false; if (!node.empty()) { ParseHelper_Node_Enter(ne); for (XmlNode currentNode = node.first_child(); currentNode; currentNode = currentNode.next_sibling()) { const std::string ¤tName = currentNode.name(); if (currentName == "color") { ParseNode_Color(currentNode); - col_read = true; } else if (currentName == "mesh") { ParseNode_Mesh(currentNode); } else if (currentName == "metadata") {