summaryrefslogtreecommitdiff
path: root/src/utils/xml/libxml.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-28 21:57:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-28 21:57:30 +0300
commit4c4d59b85e3b89812cede60dea8cf0d0185695ae (patch)
treea0099c67200830cdee5026c639a6766e0cfc56f3 /src/utils/xml/libxml.cpp
parentc3f8a2808ea38f8ebd05408c19d2fafedcdd126b (diff)
downloadmv-4c4d59b85e3b89812cede60dea8cf0d0185695ae.tar.gz
mv-4c4d59b85e3b89812cede60dea8cf0d0185695ae.tar.bz2
mv-4c4d59b85e3b89812cede60dea8cf0d0185695ae.tar.xz
mv-4c4d59b85e3b89812cede60dea8cf0d0185695ae.zip
Hide xml errors if flag allow to hide it.
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());
}
}