summaryrefslogtreecommitdiff
path: root/src/utils/xml/libxml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/xml/libxml.cpp')
-rw-r--r--src/utils/xml/libxml.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/xml/libxml.cpp b/src/utils/xml/libxml.cpp
index 840c28edd..ea15cb6bb 100644
--- a/src/utils/xml/libxml.cpp
+++ b/src/utils/xml/libxml.cpp
@@ -125,9 +125,10 @@ namespace XML
}
file.close();
}
- else
+ else if (skipError == SkipError_false)
{
- reportAlways("Error loading XML file %s", filename.c_str());
+ reportAlways("Error loading XML file %s",
+ filename.c_str());
}
}