summaryrefslogtreecommitdiff
path: root/src/resources/db/itemfielddb.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/itemfielddb.cpp
parent2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff)
downloadplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz
plus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2
plus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz
plus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip
Remove extra ; from different code.
Diffstat (limited to 'src/resources/db/itemfielddb.cpp')
-rw-r--r--src/resources/db/itemfielddb.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/resources/db/itemfielddb.cpp b/src/resources/db/itemfielddb.cpp
index 76ad26036..ef289a1b4 100644
--- a/src/resources/db/itemfielddb.cpp
+++ b/src/resources/db/itemfielddb.cpp
@@ -47,7 +47,7 @@ void ItemFieldDb::load()
loadXmlFile(paths.getStringValue("itemFieldsFile"), SkipError_false);
loadXmlFile(paths.getStringValue("itemFieldsPatchFile"), SkipError_true);
- loadXmlDir("itemFieldsPatchDir", loadXmlFile);
+ loadXmlDir("itemFieldsPatchDir", loadXmlFile)
mLoaded = true;
}
@@ -65,7 +65,7 @@ static void loadFields(XmlNodeConstPtr groupNode,
"");
if (name.empty())
{
- reportAlways("Empty name field in ItemFieldDb");
+ reportAlways("Empty name field in ItemFieldDb")
continue;
}
const std::string description = XML::langProperty(node,
@@ -73,7 +73,7 @@ static void loadFields(XmlNodeConstPtr groupNode,
"");
if (description.empty())
{
- reportAlways("Empty description field in ItemFieldDb");
+ reportAlways("Empty description field in ItemFieldDb")
continue;
}
const bool sign = XML::getBoolProperty(node,
@@ -83,14 +83,14 @@ static void loadFields(XmlNodeConstPtr groupNode,
{
reportAlways(
"Same field name detected in requeted and add groups: %s",
- name.c_str());
+ name.c_str())
continue;
}
if (fields1.find(name) != fields1.end())
{
reportAlways(
"Same field name detected: %s",
- name.c_str());
+ name.c_str())
continue;
}
fields1[name] = new ItemFieldType(name,