Author: kremenek
Date: Thu May 23 01:41:58 2013
New Revision: 182562

URL: http://llvm.org/viewvc/llvm-project?rev=182562&view=rev
Log:
[analyzer;alternate edges] fix type that was causing the wrong path piece to 
get removed.

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=182562&r1=182561&r2=182562&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp Thu May 23 01:41:58 2013
@@ -2037,7 +2037,7 @@ static void removeIdenticalEvents(PathPi
       return;
 
     PathDiagnosticEventPiece *PieceNextI =
-      dyn_cast<PathDiagnosticEventPiece>(*I);
+      dyn_cast<PathDiagnosticEventPiece>(*NextI);
 
     if (!PieceNextI)
       continue;


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to