From 0c20db8d108c4123fcc3ecb343759e68567a4d4e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 26 Nov 2018 00:51:57 +0300 Subject: Remove extra ; from different code. --- src/utils/xml/libxml.cpp | 10 +++++----- src/utils/xml/pugixml.cpp | 6 +++--- src/utils/xml/tinyxml2.cpp | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/utils/xml') 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") -- cgit v1.2.3-70-g09d2