summaryrefslogtreecommitdiff
path: root/src/guichan/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/include')
-rw-r--r--src/guichan/include/guichan/basiccontainer.hpp3
-rw-r--r--src/guichan/include/guichan/keyinput.hpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/guichan/include/guichan/basiccontainer.hpp b/src/guichan/include/guichan/basiccontainer.hpp
index 7f2d81382..40140b887 100644
--- a/src/guichan/include/guichan/basiccontainer.hpp
+++ b/src/guichan/include/guichan/basiccontainer.hpp
@@ -66,7 +66,8 @@ namespace gcn
public DeathListener
{
public:
- BasicContainer()
+ BasicContainer() :
+ mWidgets()
{ }
A_DELETE_COPY(BasicContainer)
diff --git a/src/guichan/include/guichan/keyinput.hpp b/src/guichan/include/guichan/keyinput.hpp
index 6b1d8e932..09d46857c 100644
--- a/src/guichan/include/guichan/keyinput.hpp
+++ b/src/guichan/include/guichan/keyinput.hpp
@@ -64,6 +64,7 @@ namespace gcn
* Constructor.
*/
KeyInput() :
+ mKey(0),
mType(0),
mShiftPressed(false),
mControlPressed(false),