From 4c4d59b85e3b89812cede60dea8cf0d0185695ae Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Jun 2017 21:57:30 +0300 Subject: Hide xml errors if flag allow to hide it. --- src/utils/xml/libxml.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/utils/xml/libxml.cpp') 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()); } } -- cgit v1.2.3-70-g09d2