r182501 - Remove unnecessary assignment.

Ted Kremenek kremenek at apple.com
Wed May 22 11:52:32 PDT 2013


Author: kremenek
Date: Wed May 22 13:52:32 2013
New Revision: 182501

URL: http://llvm.org/viewvc/llvm-project?rev=182501&view=rev
Log:
Remove unnecessary assignment.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp?rev=182501&r1=182500&r2=182501&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp Wed May 22 13:52:32 2013
@@ -2002,8 +2002,6 @@ static bool optimizeEdges(PathPieces &pa
     const Stmt *level2 = getStmtParent(s1End, PM);
 
     if (wasFirst) {
-      wasFirst = false;
-
       // If the first edge (in isolation) is just a transition from
       // an expression to a parent expression then eliminate that edge.
       if (level1 && level2 && level2 == PM.getParent(level1)) {





More information about the cfe-commits mailing list