summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-08 18:36:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-08 18:36:47 +0300
commit714abae7efce1f4fcc37575370efab1a1cd44a49 (patch)
treec178d42a62d3660b81841257fe697b82794e4547 /src
parent519d998fdec7feff3ec14876ab4c077759e374e4 (diff)
downloadmanaplus-714abae7efce1f4fcc37575370efab1a1cd44a49.tar.gz
manaplus-714abae7efce1f4fcc37575370efab1a1cd44a49.tar.bz2
manaplus-714abae7efce1f4fcc37575370efab1a1cd44a49.tar.xz
manaplus-714abae7efce1f4fcc37575370efab1a1cd44a49.zip
Add missing variables into constructors initialisation list.
Diffstat (limited to 'src')
-rw-r--r--src/input/inputmanager.cpp3
-rw-r--r--src/resources/openglimagehelper.h3
-rw-r--r--src/resources/safeopenglimagehelper.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index b6ed13524..4f9c1ce6b 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -78,7 +78,8 @@ InputManager::InputManager() :
mNewKeyIndex(InputAction::NO_VALUE),
mMask(1),
mNameMap(),
- mChatMap()
+ mChatMap(),
+ mKey()
{
}
diff --git a/src/resources/openglimagehelper.h b/src/resources/openglimagehelper.h
index a8e83c5d7..0c7e49c8f 100644
--- a/src/resources/openglimagehelper.h
+++ b/src/resources/openglimagehelper.h
@@ -59,7 +59,8 @@ class OpenGLImageHelper final : public ImageHelper
public:
OpenGLImageHelper() :
- mFreeTextureIndex(0)
+ mFreeTextureIndex(0U),
+ mTextures()
{
}
diff --git a/src/resources/safeopenglimagehelper.h b/src/resources/safeopenglimagehelper.h
index df9e23b2b..9b65f5262 100644
--- a/src/resources/safeopenglimagehelper.h
+++ b/src/resources/safeopenglimagehelper.h
@@ -59,7 +59,8 @@ class SafeOpenGLImageHelper final : public ImageHelper
public:
SafeOpenGLImageHelper() :
- mFreeTextureIndex(0)
+ mFreeTextureIndex(0U),
+ mTextures()
{
}