From bdd3c96eee124e24708b09e7e7ced60f36292fc8 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sun, 27 Sep 2020 21:06:14 +0200 Subject: [PATCH] amf: fix warning: unused variable. --- code/AssetLib/Collada/ColladaParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/AssetLib/Collada/ColladaParser.cpp b/code/AssetLib/Collada/ColladaParser.cpp index 764230544..fb40d016d 100644 --- a/code/AssetLib/Collada/ColladaParser.cpp +++ b/code/AssetLib/Collada/ColladaParser.cpp @@ -800,13 +800,13 @@ void ColladaParser::ReadImage(XmlNode &node, Collada::Image &pImage) { // make sure we skip over mip and array initializations, which // we don't support, but which could confuse the loader if // they're not skipped. - int v = currentNode.attribute("ref").as_int(); + //int v = currentNode.attribute("ref").as_int(); /* if (v y) { ASSIMP_LOG_WARN("Collada: Ignoring texture array index"); continue; }*/ - v = currentNode.attribute("mip_index").as_int(); + //v = currentNode.attribute("mip_index").as_int(); /*if (attrib != -1 && v > 0) { ASSIMP_LOG_WARN("Collada: Ignoring MIP map layer"); continue;