[Scummvm-cvs-logs] scummvm master -> 3943d3403411c24ae2dba7cf7254abf0e20b8e84
wjp
wjp at usecode.org
Mon Apr 22 22:20:23 CEST 2013
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:
3943d34034 SWORD1: Remove dead code
Commit: 3943d3403411c24ae2dba7cf7254abf0e20b8e84
https://github.com/scummvm/scummvm/commit/3943d3403411c24ae2dba7cf7254abf0e20b8e84
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2013-04-22T13:18:52-07:00
Commit Message:
SWORD1: Remove dead code
Changed paths:
engines/sword1/control.cpp
diff --git a/engines/sword1/control.cpp b/engines/sword1/control.cpp
index 7cd85df..80d8edc 100644
--- a/engines/sword1/control.cpp
+++ b/engines/sword1/control.cpp
@@ -856,10 +856,8 @@ bool Control::savegamesExist() {
void Control::checkForOldSaveGames() {
Common::InSaveFile *inf = _saveFileMan->openForLoading("SAVEGAME.INF");
- if (!inf) {
- delete inf;
+ if (!inf)
return;
- }
GUI::MessageDialog dialog0(
_("ScummVM found that you have old savefiles for Broken Sword 1 that should be converted.\n"
More information about the Scummvm-git-logs
mailing list