From 7625be1f4d400aaf571e1c34764aebd58f8af1ed Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Thu, 14 Mar 2024 09:05:07 -0400 Subject: [PATCH] fix compiler warning --- six/modules/c++/six.sidd/source/DerivedXMLParser300.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/six/modules/c++/six.sidd/source/DerivedXMLParser300.cpp b/six/modules/c++/six.sidd/source/DerivedXMLParser300.cpp index e652c974c..db2ec21d4 100644 --- a/six/modules/c++/six.sidd/source/DerivedXMLParser300.cpp +++ b/six/modules/c++/six.sidd/source/DerivedXMLParser300.cpp @@ -25,6 +25,7 @@ #include #include +#include #include @@ -344,6 +345,7 @@ void DerivedXMLParser300::parseJ2KCompression(const xml::lite::Element& j2kElem, { // The schema says this is required, but we might not be validating. const size_t index = std::stoi(strIndex); + std::ignore = index; // compiler warning assert(ii == index); // again, we might not be validating the XML }