aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorrichiesams2013-08-02 10:01:21 -0500
committerrichiesams2013-08-04 13:33:02 -0500
commit99ecc80e861c17ecb6f3bcc5e9e6c7b5dcb860a7 (patch)
tree0c1ff6ec531a49bacb8d366625451863ea7ac7ad /engines/zvision
parent3df425004dda026f6989a0020f24bd380cfd34f2 (diff)
downloadscummvm-rg350-99ecc80e861c17ecb6f3bcc5e9e6c7b5dcb860a7.tar.gz
scummvm-rg350-99ecc80e861c17ecb6f3bcc5e9e6c7b5dcb860a7.tar.bz2
scummvm-rg350-99ecc80e861c17ecb6f3bcc5e9e6c7b5dcb860a7.zip
ZVISION: Initialize iterator
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/utility.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/utility.cpp b/engines/zvision/utility.cpp
index 2942a35c81..2e1ade663a 100644
--- a/engines/zvision/utility.cpp
+++ b/engines/zvision/utility.cpp
@@ -174,8 +174,8 @@ void dumpEveryResultAction(const Common::String &destFile) {
trimCommentsAndWhiteSpace(&line);
}
- for (Common::HashMap<Common::String, bool>::iterator iter = fileAlreadyUsed.begin(); iter != fileAlreadyUsed.end(); ++iter) {
- iter->_value = false;
+ for (Common::HashMap<Common::String, bool>::iterator fileUsedIter = fileAlreadyUsed.begin(); fileUsedIter != fileAlreadyUsed.end(); ++fileUsedIter) {
+ fileUsedIter->_value = false;
}
}