From ea556923196e3cae6613e39f44387d68b6c9eded Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Sep 2013 22:34:54 +0300 Subject: remove unused includes from utils. --- src/utils/checkutils.h | 2 -- src/utils/cpu.cpp | 2 -- src/utils/langs.cpp | 5 ----- src/utils/langs.h | 3 --- src/utils/mkdir.cpp | 2 -- src/utils/paths.cpp | 2 -- src/utils/physfsrwops.h | 2 +- src/utils/physfstools.cpp | 2 -- src/utils/process.cpp | 2 -- src/utils/stringutils.cpp | 1 - src/utils/translation/podict.cpp | 1 - src/utils/xml.cpp | 2 -- src/utils/xml.h | 1 - 13 files changed, 1 insertion(+), 26 deletions(-) (limited to 'src/utils') diff --git a/src/utils/checkutils.h b/src/utils/checkutils.h index f55ecaece..ed21bda0a 100644 --- a/src/utils/checkutils.h +++ b/src/utils/checkutils.h @@ -21,8 +21,6 @@ #ifndef UTILS_CHECKUTILS_H #define UTILS_CHECKUTILS_H -#include - bool reportFalseReal(const bool val, const char *const file, const unsigned line); diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp index e967a5672..7f78341b5 100644 --- a/src/utils/cpu.cpp +++ b/src/utils/cpu.cpp @@ -24,8 +24,6 @@ #include "utils/stringutils.h" -#include "resources/resourcemanager.h" - #include "debug.h" int mCpuFlags = 0; diff --git a/src/utils/langs.cpp b/src/utils/langs.cpp index 5b8d979a1..6e0390494 100644 --- a/src/utils/langs.cpp +++ b/src/utils/langs.cpp @@ -22,11 +22,6 @@ #include "configuration.h" -#include -#include -#include -#include - #include "debug.h" LangVect getLang() diff --git a/src/utils/langs.h b/src/utils/langs.h index a59712048..608ae7d05 100644 --- a/src/utils/langs.h +++ b/src/utils/langs.h @@ -22,9 +22,6 @@ #define UTILS_LANGS_H #include -#include -#include -#include #include #include "localconsts.h" diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp index c723e3321..d61fae919 100644 --- a/src/utils/mkdir.cpp +++ b/src/utils/mkdir.cpp @@ -21,9 +21,7 @@ #include "utils/mkdir.h" -#include #include -#include #if defined WIN32 #include diff --git a/src/utils/paths.cpp b/src/utils/paths.cpp index c7542829f..dd045cb5a 100644 --- a/src/utils/paths.cpp +++ b/src/utils/paths.cpp @@ -30,8 +30,6 @@ #include "resources/resourcemanager.h" -#include -#include #include #ifdef WIN32 diff --git a/src/utils/physfsrwops.h b/src/utils/physfsrwops.h index 7e859a234..11b44a185 100644 --- a/src/utils/physfsrwops.h +++ b/src/utils/physfsrwops.h @@ -25,7 +25,7 @@ #ifndef UTILS_PHYSFSRWOPS_H #define UTILS_PHYSFSRWOPS_H -#include +#include #include "utils/physfstools.h" diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp index d15932274..0a6756a78 100644 --- a/src/utils/physfstools.cpp +++ b/src/utils/physfstools.cpp @@ -20,8 +20,6 @@ #include "utils/physfstools.h" -#include "logger.h" - const char *dirSeparator = nullptr; namespace PhysFs diff --git a/src/utils/process.cpp b/src/utils/process.cpp index 4a447848c..37670b18b 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -28,8 +28,6 @@ #include "localconsts.h" -#include "utils/stringutils.h" - #include "debug.h" const int timeOut = 10; diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index 09cd41fc2..c5ac71d28 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -28,7 +28,6 @@ #include #include -#include #include #include "debug.h" diff --git a/src/utils/translation/podict.cpp b/src/utils/translation/podict.cpp index 8b6fb434e..3941e776e 100644 --- a/src/utils/translation/podict.cpp +++ b/src/utils/translation/podict.cpp @@ -21,7 +21,6 @@ #include "utils/translation/podict.h" #include "localconsts.h" -#include "logger.h" #include "debug.h" diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp index d19c466d1..43e5be34b 100644 --- a/src/utils/xml.cpp +++ b/src/utils/xml.cpp @@ -30,9 +30,7 @@ #include "utils/translation/podict.h" -#include #include -#include #include "debug.h" diff --git a/src/utils/xml.h b/src/utils/xml.h index d67747659..a0a563498 100644 --- a/src/utils/xml.h +++ b/src/utils/xml.h @@ -23,7 +23,6 @@ #ifndef UTILS_XML_H #define UTILS_XML_H -#include #include #include -- cgit v1.2.3-70-g09d2