diff options
Diffstat (limited to 'src/utils/xml')
-rw-r--r-- | src/utils/xml/libxml.cpp | 10 | ||||
-rw-r--r-- | src/utils/xml/pugixml.cpp | 6 | ||||
-rw-r--r-- | src/utils/xml/tinyxml2.cpp | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/src/utils/xml/libxml.cpp b/src/utils/xml/libxml.cpp index 7fcdfd7fc..a4c1ea7ba 100644 --- a/src/utils/xml/libxml.cpp +++ b/src/utils/xml/libxml.cpp @@ -118,7 +118,7 @@ namespace XML if (size < 0) { reportAlways("Error loading XML file %s", - filename.c_str()); + filename.c_str()) } else { @@ -131,7 +131,7 @@ namespace XML else if (skipError == SkipError_false) { reportAlways("Error loading XML file %s", - filename.c_str()); + filename.c_str()) } } @@ -142,12 +142,12 @@ namespace XML if (mDoc == nullptr) { - reportAlways("Error parsing XML file %s", filename.c_str()); + reportAlways("Error parsing XML file %s", filename.c_str()) } } else if (skipError == SkipError_false) { - reportAlways("Error loading XML file %s", filename.c_str()); + reportAlways("Error loading XML file %s", filename.c_str()) } mIsValid = valid; BLOCK_END("XML::Document::Document") @@ -304,7 +304,7 @@ namespace XML void initXML() { xmlInitParser(); - LIBXML_TEST_VERSION; + LIBXML_TEST_VERSION // Suppress libxml2 error messages xmlSetGenericErrorFunc(nullptr, &xmlErrorLogger); diff --git a/src/utils/xml/pugixml.cpp b/src/utils/xml/pugixml.cpp index 4919b34a8..dfc40a970 100644 --- a/src/utils/xml/pugixml.cpp +++ b/src/utils/xml/pugixml.cpp @@ -96,7 +96,7 @@ namespace XML if (size < 0) { reportAlways("Error loading XML file %s", - filename.c_str()); + filename.c_str()) } else { @@ -109,7 +109,7 @@ namespace XML else if (skipError == SkipError_false) { reportAlways("Error loading XML file %s", - filename.c_str()); + filename.c_str()) } } @@ -135,7 +135,7 @@ namespace XML } else if (skipError == SkipError_false) { - reportAlways("Error loading %s", filename.c_str()); + reportAlways("Error loading %s", filename.c_str()) } mIsValid = valid; BLOCK_END("XML::Document::Document") diff --git a/src/utils/xml/tinyxml2.cpp b/src/utils/xml/tinyxml2.cpp index 48ea9c891..99fa09001 100644 --- a/src/utils/xml/tinyxml2.cpp +++ b/src/utils/xml/tinyxml2.cpp @@ -95,7 +95,7 @@ namespace XML if (size < 0) { reportAlways("Error loading XML file %s", - filename.c_str()); + filename.c_str()) } else { @@ -108,7 +108,7 @@ namespace XML else if (skipError == SkipError_false) { reportAlways("Error loading XML file %s", - filename.c_str()); + filename.c_str()) } } @@ -128,7 +128,7 @@ namespace XML } else if (skipError == SkipError_false) { - reportAlways("Error loading %s", filename.c_str()); + reportAlways("Error loading %s", filename.c_str()) } mIsValid = valid; BLOCK_END("XML::Document::Document") |