diff options
author | D G Turner | 2011-04-11 23:21:46 +0100 |
---|---|---|
committer | D G Turner | 2011-04-11 23:21:46 +0100 |
commit | 214f93e6aa7ea698672946f9650103e96ab37109 (patch) | |
tree | bca66f3a19cacf5c582ad4190f2b65b540e6eda6 | |
parent | 3769f30529f924c480cfc9d34d83a78ae2cbc93a (diff) | |
download | scummvm-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.h | 2 |
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; |