Skip to content

Commit

Permalink
ZVISION: Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Dec 7, 2014
1 parent 9ebfa3e commit a2eaf78
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions engines/zvision/utility/utility.cpp
Expand Up @@ -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

0 comments on commit a2eaf78

Please sign in to comment.