summaryrefslogtreecommitdiff
path: root/src/utils/xml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-26 00:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-27 20:33:15 +0300
commit0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch)
treef577edeae7b4866d68c084a1eaa229e98c80ea8f /src/utils/xml
parent2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff)
downloadmv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz
mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2
mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz
mv-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip
Remove extra ; from different code.
Diffstat (limited to 'src/utils/xml')
-rw-r--r--src/utils/xml/libxml.cpp10
-rw-r--r--src/utils/xml/pugixml.cpp6
-rw-r--r--src/utils/xml/tinyxml2.cpp6
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")