summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Verbruggen <erikjv@me.com>2012-01-31 13:44:00 +0000
committerErik Verbruggen <erikjv@me.com>2012-01-31 13:44:00 +0000
commit81dbd565013d00ee89fe2f69ddbeadadeb712679 (patch)
tree8688d5155bad4d7b98cda3fd8d5978652b22338d
parent8ad6bc339a560119fcf78d11987eed4e2fc20e10 (diff)
downloadbcm5719-llvm-81dbd565013d00ee89fe2f69ddbeadadeb712679.tar.gz
bcm5719-llvm-81dbd565013d00ee89fe2f69ddbeadadeb712679.zip
[CFG] Removed unused local variable.
llvm-svn: 149385
-rw-r--r--clang/lib/Analysis/CFG.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Analysis/CFG.cpp b/clang/lib/Analysis/CFG.cpp
index 7b84710b594..50393b634dc 100644
--- a/clang/lib/Analysis/CFG.cpp
+++ b/clang/lib/Analysis/CFG.cpp
@@ -696,8 +696,6 @@ void CFGBuilder::addAutomaticObjDtors(LocalScope::const_iterator B,
if (B == E)
return;
- CFGBlock::iterator InsertPos;
-
// We need to append the destructors in reverse order, but any one of them
// may be a no-return destructor which changes the CFG. As a result, buffer
// this sequence up and replay them in reverse order when appending onto the
OpenPOWER on IntegriCloud