summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/files.cpp2
-rw-r--r--src/utils/stringutils.cpp2
-rw-r--r--src/utils/xml/pugixml.h3
3 files changed, 3 insertions, 4 deletions
diff --git a/src/utils/files.cpp b/src/utils/files.cpp
index 0a3f3eb92..6408a8061 100644
--- a/src/utils/files.cpp
+++ b/src/utils/files.cpp
@@ -70,7 +70,7 @@ void Files::extractLocale()
resourceManager->removeFromSearchPath(fileName2);
remove(fileName2.c_str());
}
-#endif // ANDROID
+#endif // ANDROID
#if defined(ANDROID) || defined(__native_client__)
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index dadfd35f5..03f33688c 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -970,8 +970,6 @@ std::string timeDiffToString(int timeDiff)
return str;
}
-#include "logger.h"
-
#ifndef DYECMD
void replaceItemLinks(std::string &msg)
{
diff --git a/src/utils/xml/pugixml.h b/src/utils/xml/pugixml.h
index 69864959d..ed4456bb7 100644
--- a/src/utils/xml/pugixml.h
+++ b/src/utils/xml/pugixml.h
@@ -148,7 +148,8 @@ namespace XML
} // namespace XML
#define for_each_xml_child_node(var, parent) \
- for (pugi::xml_node var = parent.first_child(); var; var = var.next_sibling())
+ for (pugi::xml_node var = parent.first_child(); \
+ var; var = var.next_sibling())
#endif // ENABLE_PUGIXML
#endif // UTILS_XML_PUGIXML_H