aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2011-04-11 23:21:46 +0100
committerD G Turner2011-04-11 23:21:46 +0100
commit214f93e6aa7ea698672946f9650103e96ab37109 (patch)
treebca66f3a19cacf5c582ad4190f2b65b540e6eda6
parent3769f30529f924c480cfc9d34d83a78ae2cbc93a (diff)
downloadscummvm-rg350-214f93e6aa7ea698672946f9650103e96ab37109.tar.gz
scummvm-rg350-214f93e6aa7ea698672946f9650103e96ab37109.tar.bz2
scummvm-rg350-214f93e6aa7ea698672946f9650103e96ab37109.zip
MOHAWK: Add Default Values to LB NotifyEvent Constructor.
This silences a number of warnings about possible uninitialized parameter use.
-rw-r--r--engines/mohawk/livingbooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h
index ddca81c64f..cd3b206d57 100644
--- a/engines/mohawk/livingbooks.h
+++ b/engines/mohawk/livingbooks.h
@@ -575,7 +575,7 @@ public:
};
struct NotifyEvent {
- NotifyEvent(uint t, uint p) : type(t), param(p) { }
+ NotifyEvent(uint t, uint p) : type(t), param(p), newUnknown(0), newMode(0), newPage(0), newSubpage(0) { }
uint type;
uint param;