Fix VC++ warning.
authorJeff Cohen <jeffc@jolt-lang.org>
Thu, 16 Feb 2006 04:07:37 +0000 (04:07 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Thu, 16 Feb 2006 04:07:37 +0000 (04:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26228 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopUnswitch.cpp

index d36e59d9eca0e9d4fb9a889275b8ebcc8493efa2..2232ac754d56434737271f3daf03968f30567571 100644 (file)
@@ -426,7 +426,6 @@ BasicBlock *LoopUnswitch::SplitEdge(BasicBlock *BB, BasicBlock *Succ) {
 
   // If the edge isn't critical, then BB has a single successor or Succ has a
   // single pred.  Split the block.
-  BasicBlock *BlockToSplit;
   BasicBlock::iterator SplitPoint;
   if (BasicBlock *SP = Succ->getSinglePredecessor()) {
     // If the successor only has a single pred, split the top of the successor