diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-26 00:51:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-27 20:33:15 +0300 |
commit | 0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch) | |
tree | f577edeae7b4866d68c084a1eaa229e98c80ea8f /src/resources/db/statdb.cpp | |
parent | 2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff) | |
download | manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2 manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz manaplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip |
Remove extra ; from different code.
Diffstat (limited to 'src/resources/db/statdb.cpp')
-rw-r--r-- | src/resources/db/statdb.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/resources/db/statdb.cpp b/src/resources/db/statdb.cpp index 2757c0085..88300203f 100644 --- a/src/resources/db/statdb.cpp +++ b/src/resources/db/statdb.cpp @@ -92,7 +92,7 @@ void StatDb::load() loadXmlFile(paths.getStringValue("statFile"), SkipError_false); loadXmlFile(paths.getStringValue("statPatchFile"), SkipError_true); - loadXmlDir("statPatchDir", loadXmlFile); + loadXmlDir("statPatchDir", loadXmlFile) mLoaded = true; } @@ -112,7 +112,7 @@ static void loadBasicStats(XmlNodeConstPtr rootNode) { reportAlways("Wrong attr or id for basic " "stat with name %s", - name.c_str()); + name.c_str()) continue; } const std::string tag = XML::getProperty(node, "tag", ""); @@ -150,7 +150,7 @@ static void loadStats(XmlNodeConstPtr rootNode, { reportAlways("Wrong attr or id for extended " "stat with name %s", - name.c_str()); + name.c_str()) continue; } stats.push_back(BasicStat(static_cast<AttributesT>(id), @@ -207,7 +207,7 @@ void StatDb::loadXmlFile(const std::string &fileName, std::string page = XML::langProperty(node, "name", ""); if (page.empty()) { - reportAlways("Page without name in stats.xml"); + reportAlways("Page without name in stats.xml") page = "Unknown"; } loadStats(node, page); @@ -218,7 +218,7 @@ void StatDb::loadXmlFile(const std::string &fileName, if (mBasicStats.empty() && mStats.empty()) { - reportAlways("StatDb: no stats found"); + reportAlways("StatDb: no stats found") addDefaultStats(); } } |