diff options
author | Max Horn | 2008-03-22 16:05:23 +0000 |
---|---|---|
committer | Max Horn | 2008-03-22 16:05:23 +0000 |
commit | 81cff1f0470e83a7e971b919e674327bd56ef1bf (patch) | |
tree | 33bc4e5a9c1db4d25f8053724fe46e8e0a178fa5 /common/advancedDetector.cpp | |
parent | 46376d38a9fb780549461b809125c7e8b68df546 (diff) | |
download | scummvm-rg350-81cff1f0470e83a7e971b919e674327bd56ef1bf.tar.gz scummvm-rg350-81cff1f0470e83a7e971b919e674327bd56ef1bf.tar.bz2 scummvm-rg350-81cff1f0470e83a7e971b919e674327bd56ef1bf.zip |
removed dead code
svn-id: r31222
Diffstat (limited to 'common/advancedDetector.cpp')
-rw-r--r-- | common/advancedDetector.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/common/advancedDetector.cpp b/common/advancedDetector.cpp index 33af4736d2..cb3c5146f6 100644 --- a/common/advancedDetector.cpp +++ b/common/advancedDetector.cpp @@ -280,31 +280,6 @@ static void reportUnknown(StringMap &filesMD5, HashMap<String, int32, Common::Ca printf("\n"); } -/* -static void reportUnknown(StringList &files, int md5Bytes) { - StringMap filesMD5; - HashMap<String, int32, Common::CaseSensitiveString_Hash, Common::CaseSensitiveString_EqualTo> filesSize; - - char md5str[32+1]; - File testFile; - - // Fill the data structures for the requested files - for (StringList::iterator file = files.begin(); file != files.end(); file++) { - - if (testFile.open(*file)) { - filesSize[*file] = (int32)testFile.size(); - - if (md5_file_string(testFile, md5str, md5Bytes)) - filesMD5[*file] = md5str; - - testFile.close(); - } - } - - reportUnknown(filesMD5, filesSize); -} -*/ - static ADGameDescList detectGame(const FSList *fslist, const Common::ADParams ¶ms, Language language, Platform platform, const Common::String extra) { typedef HashMap<String, bool, CaseSensitiveString_Hash, CaseSensitiveString_EqualTo> StringSet; StringSet filesList; |