about summary refs log tree commit diff homepage
path: root/lib/Core/Searcher.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-15 04:48:22 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-15 04:48:22 +0000
commitcceb06eebe931a5d933a45e70519aa61b90eddc1 (patch)
tree37ffe6562ef40ab282351b910ebf209604e63567 /lib/Core/Searcher.cpp
parent2186b2adf493d02aacf363d6b91d978a49a6944b (diff)
downloadklee-cceb06eebe931a5d933a45e70519aa61b90eddc1.tar.gz
Reduce variable shadowing.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@108405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Core/Searcher.cpp')
-rw-r--r--lib/Core/Searcher.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Core/Searcher.cpp b/lib/Core/Searcher.cpp
index 6fa75a26..d08cd1b1 100644
--- a/lib/Core/Searcher.cpp
+++ b/lib/Core/Searcher.cpp
@@ -440,9 +440,9 @@ void MergingSearcher::update(ExecutionState *current,
     for (std::set<ExecutionState*>::const_iterator it = removedStates.begin(),
            ie = removedStates.end(); it != ie; ++it) {
       ExecutionState *es = *it;
-      std::set<ExecutionState*>::const_iterator it = statesAtMerge.find(es);
-      if (it!=statesAtMerge.end()) {
-        statesAtMerge.erase(it);
+      std::set<ExecutionState*>::const_iterator it2 = statesAtMerge.find(es);
+      if (it2 != statesAtMerge.end()) {
+        statesAtMerge.erase(it2);
         alt.erase(alt.find(es));
       }
     }    
@@ -523,8 +523,8 @@ void IterativeDeepeningTimeSearcher::update(ExecutionState *current,
     for (std::set<ExecutionState*>::const_iterator it = removedStates.begin(),
            ie = removedStates.end(); it != ie; ++it) {
       ExecutionState *es = *it;
-      std::set<ExecutionState*>::const_iterator it = pausedStates.find(es);
-      if (it!=pausedStates.end()) {
+      std::set<ExecutionState*>::const_iterator it2 = pausedStates.find(es);
+      if (it2 != pausedStates.end()) {
         pausedStates.erase(it);
         alt.erase(alt.find(es));
       }