From: Ted Kremenek Date: Thu, 23 May 2013 06:41:58 +0000 (+0000) Subject: [analyzer;alternate edges] fix type that was causing the wrong path piece to get... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0fa3504acfc7c20a87973c58ad3474adc94dd97d;p=clang [analyzer;alternate edges] fix type that was causing the wrong path piece to get removed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182562 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index 952fabd585..d241c8a16d 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -2037,7 +2037,7 @@ static void removeIdenticalEvents(PathPieces &path) { return; PathDiagnosticEventPiece *PieceNextI = - dyn_cast(*I); + dyn_cast(*NextI); if (!PieceNextI) continue;