diff --git a/modules/io/src/img/map_io_dx_handler.cc b/modules/io/src/img/map_io_dx_handler.cc
index 5ecaab90479a1f878a151ccf3af10e6f2da14bca..4c823edc1497e80a156ab273cafd3eaa67af9357 100644
--- a/modules/io/src/img/map_io_dx_handler.cc
+++ b/modules/io/src/img/map_io_dx_handler.cc
@@ -48,6 +48,10 @@ using boost::format;
 
 namespace {
 
+/*
+
+commented out to silence compiler warning, as it is not needed anywhere
+
 bool IEquals(const StringRef& a, const StringRef& b)
 {
   if (a.size()!=b.size()) {
@@ -60,6 +64,7 @@ bool IEquals(const StringRef& a, const StringRef& b)
   }
   return true;
 }
+*/
 
 }