[Scummvm-cvs-logs] scummvm master -> ab3b052c6f16843bda7bd1ded8a210d1192a389f

digitall dgturner at iee.org
Sun Aug 12 01:21:37 CEST 2012


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:
ab3b052c6f GUI: Fix possible un-initialised variable usage in SaveLoadChooser.


Commit: ab3b052c6f16843bda7bd1ded8a210d1192a389f
    https://github.com/scummvm/scummvm/commit/ab3b052c6f16843bda7bd1ded8a210d1192a389f
Author: D G Turner (digitall at scummvm.org)
Date: 2012-08-11T16:19:44-07:00

Commit Message:
GUI: Fix possible un-initialised variable usage in SaveLoadChooser.

This was reported by valgrind, while looking at a different issue.

Changed paths:
    gui/saveload.cpp



diff --git a/gui/saveload.cpp b/gui/saveload.cpp
index 67d871e..ac315cb 100644
--- a/gui/saveload.cpp
+++ b/gui/saveload.cpp
@@ -44,6 +44,7 @@ enum {
 SaveLoadChooser::SaveLoadChooser(const String &title, const String &buttonLabel, bool saveMode)
 	: Dialog("SaveLoadChooser"), _delSupport(0), _list(0), _chooseButton(0), _deleteButton(0), _gfxWidget(0)  {
 	_delSupport = _metaInfoSupport = _thumbnailSupport = _saveDateSupport = _playTimeSupport = false;
+	_fillR = _fillG = _fillB = 0;
 
 	_backgroundType = ThemeEngine::kDialogBackgroundSpecial;
 






More information about the Scummvm-git-logs mailing list