From: Ted Kremenek Date: Wed, 22 May 2013 18:52:32 +0000 (+0000) Subject: Remove unnecessary assignment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ddf6e840ca0678c305d5d1c493a66d4cda554e5e;p=clang Remove unnecessary assignment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182501 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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)) {