Skip to content

Commit

Permalink
MOHAWK: Add Default Values to LB NotifyEvent Constructor.
Browse files Browse the repository at this point in the history
This silences a number of warnings about possible uninitialized
parameter use.
  • Loading branch information
digitall committed Apr 11, 2011
1 parent 3769f30 commit 214f93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/mohawk/livingbooks.h
Expand Up @@ -575,7 +575,7 @@ class LBMiniGameItem : public LBItem {
};

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;

Expand Down

0 comments on commit 214f93e

Please sign in to comment.