aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFG.cpp
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
commit54a7e3f6778c804d0fe983efb9f62d6d27d86eb4 (patch)
tree427e84da6dcc10b13f00215e0af1659dc59cc65e /lib/Analysis/CFG.cpp
parent003eff627b3435d51b41fdbcdbbdbbfb55055bd4 (diff)
[CFG] Removed unused local variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFG.cpp')
-rw-r--r--lib/Analysis/CFG.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Analysis/CFG.cpp b/lib/Analysis/CFG.cpp
index 7b84710b59..50393b634d 100644
--- a/lib/Analysis/CFG.cpp
+++ b/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