From 99ecc80e861c17ecb6f3bcc5e9e6c7b5dcb860a7 Mon Sep 17 00:00:00 2001 From: richiesams Date: Fri, 2 Aug 2013 10:01:21 -0500 Subject: ZVISION: Initialize iterator --- engines/zvision/utility.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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::iterator iter = fileAlreadyUsed.begin(); iter != fileAlreadyUsed.end(); ++iter) { - iter->_value = false; + for (Common::HashMap::iterator fileUsedIter = fileAlreadyUsed.begin(); fileUsedIter != fileAlreadyUsed.end(); ++fileUsedIter) { + fileUsedIter->_value = false; } } -- cgit v1.2.3