From 214f93e6aa7ea698672946f9650103e96ab37109 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 11 Apr 2011 23:21:46 +0100 Subject: [PATCH] MOHAWK: Add Default Values to LB NotifyEvent Constructor. This silences a number of warnings about possible uninitialized parameter use. --- engines/mohawk/livingbooks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h index ddca81c64fb0..cd3b206d574f 100644 --- a/engines/mohawk/livingbooks.h +++ b/engines/mohawk/livingbooks.h @@ -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;