diff options
author | Willem Jan Palenstijn | 2013-04-24 23:01:07 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-04-24 23:01:07 +0200 |
commit | 53f38aeff17913d33f5c64eaa2410dd1d4d71f9e (patch) | |
tree | 92a402d1b350759cd7758774dbad69bcb5c762f6 /engines/drascula | |
parent | 5fc59f9bd8f0752bb5f1f81ab1c82d7276279cd3 (diff) | |
download | scummvm-rg350-53f38aeff17913d33f5c64eaa2410dd1d4d71f9e.tar.gz scummvm-rg350-53f38aeff17913d33f5c64eaa2410dd1d4d71f9e.tar.bz2 scummvm-rg350-53f38aeff17913d33f5c64eaa2410dd1d4d71f9e.zip |
DRASCULA: Remove dead code
Diffstat (limited to 'engines/drascula')
-rw-r--r-- | engines/drascula/saveload.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/drascula/saveload.cpp b/engines/drascula/saveload.cpp index ba4148fb76..996c9d3f03 100644 --- a/engines/drascula/saveload.cpp +++ b/engines/drascula/saveload.cpp @@ -40,10 +40,8 @@ void DrasculaEngine::checkForOldSaveGames() { Common::InSaveFile *indexFile = _saveFileMan->openForLoading(indexFileName); // Check for the existence of an old index file - if (!indexFile) { - delete indexFile; + if (!indexFile) return; - } GUI::MessageDialog dialog0( _("ScummVM found that you have old savefiles for Drascula that should be converted.\n" |