mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
TINSEL: Remove dead variables
This commit is contained in:
parent
046a34bd42
commit
7b47bf4638
@ -280,11 +280,9 @@ const ADGameDescription *TinselMetaEngine::fallbackDetect(const Common::FSList &
|
||||
|
||||
ADGameDescList matched;
|
||||
int maxFilesMatched = 0;
|
||||
bool gotAnyMatchesWithAllFiles = false;
|
||||
|
||||
// MD5 based matching
|
||||
uint i;
|
||||
for (i = 0, g = &Tinsel::gameDescriptions[0]; g->desc.gameid != 0; ++g) {
|
||||
for (g = &Tinsel::gameDescriptions[0]; g->desc.gameid != 0; ++g) {
|
||||
if (strcmp(g->desc.gameid, "dw2") != 0)
|
||||
continue;
|
||||
|
||||
@ -327,9 +325,6 @@ const ADGameDescription *TinselMetaEngine::fallbackDetect(const Common::FSList &
|
||||
}
|
||||
}
|
||||
|
||||
if (allFilesPresent)
|
||||
gotAnyMatchesWithAllFiles = true;
|
||||
|
||||
if (!fileMissing) {
|
||||
// Count the number of matching files. Then, only keep those
|
||||
// entries which match a maximal amount of files.
|
||||
|
Loading…
x
Reference in New Issue
Block a user