aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/game.cpp2
-rw-r--r--engines/cine/detection.cpp1
-rw-r--r--engines/saga/game.cpp2
3 files changed, 0 insertions, 5 deletions
diff --git a/engines/agos/game.cpp b/engines/agos/game.cpp
index 9cf545f5b9..55fa425a5a 100644
--- a/engines/agos/game.cpp
+++ b/engines/agos/game.cpp
@@ -219,8 +219,6 @@ bool AGOSEngine::initGame() {
}
}
- //delete &matches;
-
if (gameNumber >= ARRAYSIZE(gameDescriptions) || gameNumber == -1) {
error("AGOSEngine::loadGame wrong gameNumber");
}
diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp
index 4bda1d9991..d56d85481d 100644
--- a/engines/cine/detection.cpp
+++ b/engines/cine/detection.cpp
@@ -706,7 +706,6 @@ DetectedGameList GAME_detectGames(const FSList &fslist) {
for (uint i = 0; i < matches.size(); i++)
detectedGames.push_back(toDetectedGame(gameDescriptions[matches[i]].desc));
- //delete &matches;
return detectedGames;
}
diff --git a/engines/saga/game.cpp b/engines/saga/game.cpp
index f3f8e1629f..31654eba9a 100644
--- a/engines/saga/game.cpp
+++ b/engines/saga/game.cpp
@@ -153,8 +153,6 @@ bool SagaEngine::initGame() {
gameNumber = matches[0];
- //delete matches;
-
if (gameNumber >= gameCount || gameNumber == -1) {
error("SagaEngine::loadGame wrong gameNumber");
}