Skip to content

Commit

Permalink
Fix VC++ warning.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26228 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Jeff Cohen committed Feb 16, 2006
1 parent 8e77a8c commit 21c107a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Transforms/Scalar/LoopUnswitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21c107a

Please sign in to comment.