]> granicus.if.org Git - clang/commitdiff
[CFG] Removed unused local variable.
authorErik Verbruggen <erikjv@me.com>
Tue, 31 Jan 2012 13:44:00 +0000 (13:44 +0000)
committerErik Verbruggen <erikjv@me.com>
Tue, 31 Jan 2012 13:44:00 +0000 (13:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149385 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CFG.cpp

index 7b84710b59448e4f222b5c2c8afd92c90e3f39ad..50393b634dc166ace1a92ce3edb369709f7deaa6 100644 (file)
@@ -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