Skip to content

Commit

Permalink
GUI: Fix possible un-initialised variable usage in SaveLoadChooser.
Browse files Browse the repository at this point in the history
This was reported by valgrind, while looking at a different issue.
  • Loading branch information
digitall committed Aug 11, 2012
1 parent 78b8fa3 commit ab3b052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/saveload.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit ab3b052

Please sign in to comment.