aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2006-02-16 04:07:37 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2006-02-16 04:07:37 +0000
commit21c107ab0f1db3d959545ab93e369bbfcf56e573 (patch)
tree7824d90e2c6a9727ae48cedd179fd8b5f35a1915 /lib
parent8e77a8cdd5cb3fcec95e1c966a0313f23b766f3e (diff)
Fix VC++ warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/LoopUnswitch.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp
index d36e59d9ec..2232ac754d 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