summaryrefslogtreecommitdiff
path: root/src/resources/db/unitsdb.cpp
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/resources/db/unitsdb.cpp
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/resources/db/unitsdb.cpp')
-rw-r--r--src/resources/db/unitsdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/unitsdb.cpp b/src/resources/db/unitsdb.cpp
index b56be8fec..c9514b640 100644
--- a/src/resources/db/unitsdb.cpp
+++ b/src/resources/db/unitsdb.cpp
@@ -113,7 +113,7 @@ void UnitsDb::load()
loadXmlFile(paths.getStringValue("unitsFile"), SkipError_false);
loadXmlFile(paths.getStringValue("unitsPatchFile"), SkipError_true);
- loadXmlDir("unitsPatchDir", loadXmlFile);
+ loadXmlDir("unitsPatchDir", loadXmlFile)
}
void UnitsDb::unload()
@@ -186,7 +186,7 @@ static void loadCurrencies(XmlNodePtr parentNode)
const std::string name = XML::getProperty(node, "name", "");
if (name.empty())
{
- reportAlways("Error: unknown currency name.");
+ reportAlways("Error: unknown currency name.")
continue;
}
mCurrencies[name] = loadUnit(node);