From 19ccc27d37ca3d0f7b71ed64a52c14b8d06630ae Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Thu, 11 Dec 2014 20:12:28 +0100 Subject: Fix MSVC compiling warnings and remove an unused texture --- src/fontengine.cpp | 3 +-- src/fontengine.h | 1 - textures/base/pack/ladder_down.png | Bin 2299 -> 0 bytes 3 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 textures/base/pack/ladder_down.png diff --git a/src/fontengine.cpp b/src/fontengine.cpp index e6564854d..b9d35ba42 100644 --- a/src/fontengine.cpp +++ b/src/fontengine.cpp @@ -45,14 +45,13 @@ FontEngine::FontEngine(Settings* main_settings, gui::IGUIEnvironment* env) : m_settings(main_settings), m_env(env), m_font_cache(), - m_default_size(), m_currentMode(FM_Standard), m_lastMode(), m_lastSize(0), m_lastFont(NULL) { - for ( unsigned int i = 0; i < FM_MaxMode; i++) { + for (unsigned int i = 0; i < FM_MaxMode; i++) { m_default_size[i] = (FontMode) FONT_SIZE_UNSPECIFIED; } diff --git a/src/fontengine.h b/src/fontengine.h index 679a96bea..9edde05f8 100644 --- a/src/fontengine.h +++ b/src/fontengine.h @@ -86,7 +86,6 @@ private: m_settings(NULL), m_env(NULL), m_font_cache(), - m_default_size(), m_currentMode(FM_Standard), m_lastMode(), m_lastSize(0), diff --git a/textures/base/pack/ladder_down.png b/textures/base/pack/ladder_down.png deleted file mode 100644 index e3cb7dbd1..000000000 Binary files a/textures/base/pack/ladder_down.png and /dev/null differ -- cgit v1.2.3