summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 3ac01cb5a..967f6d65d 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -29,7 +29,8 @@
#include "debug.h"
-CommandHandler::CommandHandler()
+CommandHandler::CommandHandler() :
+ mCommands()
{
const int sz = sizeof(commands) / sizeof(CommandInfo);
for (int f = 0; f < sz; f ++)