From: Jeff Cohen Date: Thu, 16 Feb 2006 04:07:37 +0000 (+0000) Subject: Fix VC++ warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=21c107ab0f1db3d959545ab93e369bbfcf56e573;p=oota-llvm.git Fix VC++ warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26228 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp index d36e59d9eca..2232ac754d5 100644 --- a/lib/Transforms/Scalar/LoopUnswitch.cpp +++ b/lib/Transforms/Scalar/LoopUnswitch.cpp @@ -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