diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-03-23 05:13:26 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-03-23 05:13:26 +0000 |
commit | 41ca1347c4b5bfea012f08d7eff8636d355762ea (patch) | |
tree | 38490c180aea21bbc9a185243da7f9f4610c3c02 /lib/Checker/BugReporter.cpp | |
parent | 42444fb53cc8f3ee221d3dfe3e7f23d3f9adc1db (diff) |
merge line.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/BugReporter.cpp')
-rw-r--r-- | lib/Checker/BugReporter.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Checker/BugReporter.cpp b/lib/Checker/BugReporter.cpp index 7272b34858..856b05ff2d 100644 --- a/lib/Checker/BugReporter.cpp +++ b/lib/Checker/BugReporter.cpp @@ -1139,12 +1139,9 @@ void EdgeBuilder::addContext(const Stmt *S) { static void GenerateExtensivePathDiagnostic(PathDiagnostic& PD, PathDiagnosticBuilder &PDB, const ExplodedNode *N) { - - EdgeBuilder EB(PD, PDB); - const ExplodedNode* NextNode = N->pred_empty() - ? NULL : *(N->pred_begin()); + const ExplodedNode* NextNode = N->pred_empty() ? NULL : *(N->pred_begin()); while (NextNode) { N = NextNode; NextNode = GetPredecessorNode(N); |