aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Checker/IdempotentOperationChecker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Checker/IdempotentOperationChecker.cpp b/lib/Checker/IdempotentOperationChecker.cpp
index 6e6f5bdd96..9ef56b0d58 100644
--- a/lib/Checker/IdempotentOperationChecker.cpp
+++ b/lib/Checker/IdempotentOperationChecker.cpp
@@ -298,8 +298,8 @@ void IdempotentOperationChecker::VisitEndAnalysis(ExplodedGraph &G,
BugReporter &BR,
bool hasWorkRemaining) {
// If there is any work remaining we cannot be 100% sure about our warnings
-// if (hasWorkRemaining)
-// return;
+ if (hasWorkRemaining)
+ return;
// Iterate over the hash to see if we have any paths with definite
// idempotent operations.