diff --git a/GeoLib/IO/XmlIO/Qt/XmlGmlInterface.cpp b/GeoLib/IO/XmlIO/Qt/XmlGmlInterface.cpp
index 31b59e35967625da6e5562a2f5f5e291cc89e230..f900282ac0fb7e4a807f0971069cafaa9fb41c06 100644
--- a/GeoLib/IO/XmlIO/Qt/XmlGmlInterface.cpp
+++ b/GeoLib/IO/XmlIO/Qt/XmlGmlInterface.cpp
@@ -120,7 +120,7 @@ int XmlGmlInterface::readFile(const QString &fileName)
                               _geo_objs.getPointVecObj(gliName)->getIDMap(),
                               ply_names.get());
             }
-            catch (std::runtime_error const& err)
+            catch (std::runtime_error const&)
             {
                 // further reading is aborted and it is necessary to clean up
                 _geo_objs.removePointVec(gliName);
@@ -141,7 +141,7 @@ int XmlGmlInterface::readFile(const QString &fileName)
                              _geo_objs.getPointVecObj(gliName)->getIDMap(),
                              sfc_names.get());
             }
-            catch (std::runtime_error const& err)
+            catch (std::runtime_error const&)
             {
                 // further reading is aborted and it is necessary to clean up
                 _geo_objs.removePointVec(gliName);