summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/npcdialogdb.h2
-rw-r--r--src/resources/db/skillunitdb.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/db/npcdialogdb.h b/src/resources/db/npcdialogdb.h
index 42de958e8..f0c190021 100644
--- a/src/resources/db/npcdialogdb.h
+++ b/src/resources/db/npcdialogdb.h
@@ -26,8 +26,6 @@
#include "localconsts.h"
-class Widget;
-
struct NpcDialogInfo;
/**
diff --git a/src/resources/db/skillunitdb.cpp b/src/resources/db/skillunitdb.cpp
index c2131eca4..a92748f45 100644
--- a/src/resources/db/skillunitdb.cpp
+++ b/src/resources/db/skillunitdb.cpp
@@ -69,7 +69,8 @@ void SkillUnitDb::loadXmlFile(const std::string &fileName)
{
if (xmlNameEqual(skillUnitNode, "include"))
{
- const std::string name = XML::getProperty(skillUnitNode, "name", "");
+ const std::string name = XML::getProperty(skillUnitNode,
+ "name", "");
if (!name.empty())
loadXmlFile(name);
continue;