]> granicus.if.org Git - clang/commitdiff
Remove dead store.
authorTed Kremenek <kremenek@apple.com>
Fri, 12 Oct 2012 22:56:26 +0000 (22:56 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 12 Oct 2012 22:56:26 +0000 (22:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165835 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFG.cpp

index a179b6dffe2de1ad4df0702dfdae894d2fda54fe..4d63345caf4935d25ecea20c976354b641083cb6 100644 (file)
@@ -2286,7 +2286,7 @@ CFGBlock *CFGBuilder::VisitWhileStmt(WhileStmt *W) {
       }
 
     // The default case when not handling logical operators.
-    EntryConditionBlock = ExitConditionBlock = createBlock(false);
+    ExitConditionBlock = createBlock(false);
     ExitConditionBlock->setTerminator(W);
 
     // Now add the actual condition to the condition block.