summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-05-21 20:51:21 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2015-05-21 20:51:21 +0200
commit16b59fe4f96d35cf2468365ae185fba389b23020 (patch)
tree160252ed2946cdaabe4123aa79008c4003c9616a
parenta0dda8c8b25e61cdab7e6bb8ae62d97f538a2052 (diff)
Force value of 'initialized' before construction.
-rw-r--r--plugingui/plugingui.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc
index 60a75fc..170f4f9 100644
--- a/plugingui/plugingui.cc
+++ b/plugingui/plugingui.cc
@@ -169,10 +169,10 @@ void closeClick(void *ptr)
*/
PluginGUI::PluginGUI()
- : MessageReceiver(MSGRCV_UI), sem("plugingui")
+ : MessageReceiver(MSGRCV_UI)
+ , initialised(false)
+ , sem("plugingui")
{
- initialised = false;
-
windowClosedHandler = NULL;
changeMidimapHandler = NULL;