[Scummvm-git-logs] scummvm master -> ed76a70d5870570e891bb52a6125155d6ef42249

sev- sev at scummvm.org
Thu Jul 16 22:31:22 UTC 2020


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:
ed76a70d58 GRAPHICS: MACGUI: Fix warning


Commit: ed76a70d5870570e891bb52a6125155d6ef42249
    https://github.com/scummvm/scummvm/commit/ed76a70d5870570e891bb52a6125155d6ef42249
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-07-17T00:30:56+02:00

Commit Message:
GRAPHICS: MACGUI: Fix warning

Changed paths:
    graphics/macgui/macbutton.cpp


diff --git a/graphics/macgui/macbutton.cpp b/graphics/macgui/macbutton.cpp
index c9bc88d9f4..a63431877b 100644
--- a/graphics/macgui/macbutton.cpp
+++ b/graphics/macgui/macbutton.cpp
@@ -38,7 +38,7 @@ MacButton::MacButton(MacButtonType buttonType, TextAlign textAlignment, MacWidge
 
 	_buttonType = buttonType;
 
-	int offset;
+	int offset = 0;
 	switch (buttonType) {
 	case kCheckBox:
 		offset = 16;




More information about the Scummvm-git-logs mailing list