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

aquadran noreply at scummvm.org
Tue Dec 7 14:09:59 UTC 2021


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:
d6aebf4eaa GRIM: Remove not reachable code


Commit: d6aebf4eaa4a6a0ab2be62426fcf9956401abfee
    https://github.com/scummvm/scummvm/commit/d6aebf4eaa4a6a0ab2be62426fcf9956401abfee
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2021-12-07T15:09:52+01:00

Commit Message:
GRIM: Remove not reachable code

Changed paths:
    engines/grim/remastered/lua_remastered.cpp


diff --git a/engines/grim/remastered/lua_remastered.cpp b/engines/grim/remastered/lua_remastered.cpp
index b72d48cf05..eba336a497 100644
--- a/engines/grim/remastered/lua_remastered.cpp
+++ b/engines/grim/remastered/lua_remastered.cpp
@@ -462,7 +462,6 @@ void Lua_Remastered::FindSaveGames() {
 					filename, savedState->saveMajorVersion(), savedState->saveMinorVersion(),
 					SaveGame::SAVEGAME_MAJOR_VERSION, SaveGame::SAVEGAME_MINOR_VERSION);
 			}
-			delete savedState;
 			return;
 		}
 		int slot = atoi((*it).c_str() + 6);




More information about the Scummvm-git-logs mailing list