diff options
author | Filippos Karapetis | 2014-12-08 01:09:27 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-12-08 01:09:27 +0200 |
commit | a2eaf78255d6a92f8d93e2a3e8907f60c2e6e699 (patch) | |
tree | 211b0b9e2cf89409af630adc4298026c1811dbb5 /engines/zvision/utility/utility.cpp | |
parent | 9ebfa3e4f93bd3af0b8170bbb718e4e9a120e776 (diff) | |
download | scummvm-rg350-a2eaf78255d6a92f8d93e2a3e8907f60c2e6e699.tar.gz scummvm-rg350-a2eaf78255d6a92f8d93e2a3e8907f60c2e6e699.tar.bz2 scummvm-rg350-a2eaf78255d6a92f8d93e2a3e8907f60c2e6e699.zip |
ZVISION: Remove unused code
Diffstat (limited to 'engines/zvision/utility/utility.cpp')
-rw-r--r-- | engines/zvision/utility/utility.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/engines/zvision/utility/utility.cpp b/engines/zvision/utility/utility.cpp index 2388fe826e..e09545a90d 100644 --- a/engines/zvision/utility/utility.cpp +++ b/engines/zvision/utility/utility.cpp @@ -42,19 +42,4 @@ void trimCommentsAndWhiteSpace(Common::String *string) { string->trim(); } -void tryToDumpLine(const Common::String &key, - Common::String &line, - Common::HashMap<Common::String, byte> *count, - Common::HashMap<Common::String, bool> *fileAlreadyUsed, - Common::DumpFile &output) { - const byte numberOfExamplesPerType = 8; - - if ((*count)[key] < numberOfExamplesPerType && !(*fileAlreadyUsed)[key]) { - output.writeString(line); - output.writeByte('\n'); - (*count)[key]++; - (*fileAlreadyUsed)[key] = true; - } -} - } // End of namespace ZVision |