From ddf6e840ca0678c305d5d1c493a66d4cda554e5e Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 22 May 2013 18:52:32 +0000 Subject: [PATCH] Remove unnecessary assignment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182501 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Core/BugReporter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index 7bc3b8f20b..c7814acb8c 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -2002,8 +2002,6 @@ static bool optimizeEdges(PathPieces &path, SourceManager &SM, 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)) { -- 2.40.0