[Scummvm-cvs-logs] scummvm master -> 214f93e6aa7ea698672946f9650103e96ab37109

digitall digitall at scummvm.org
Tue Apr 12 00:27:26 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
214f93e6aa MOHAWK: Add Default Values to LB NotifyEvent Constructor.


Commit: 214f93e6aa7ea698672946f9650103e96ab37109
    https://github.com/scummvm/scummvm/commit/214f93e6aa7ea698672946f9650103e96ab37109
Author: D G Turner (digitall at scummvm.org)
Date: 2011-04-11T15:21:46-07:00

Commit Message:
MOHAWK: Add Default Values to LB NotifyEvent Constructor.

This silences a number of warnings about possible uninitialized
parameter use.

Changed paths:
    engines/mohawk/livingbooks.h



diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h
index ddca81c..cd3b206 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;
 






More information about the Scummvm-git-logs mailing list