From: Jeff Cohen Date: Sat, 4 Feb 2006 16:20:31 +0000 (+0000) Subject: Fix VC++ warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f3afef3b3a9d7c4ca69d4b0306a684a61e1e50d5;p=oota-llvm.git Fix VC++ warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25975 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index 58344872a53..15748705690 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp @@ -301,7 +301,6 @@ void ScheduleDAG::EmitNode(NodeInfo *NI) { // Add all of the operand registers to the instruction. for (unsigned i = 2; i != NumOps; i += 2) { unsigned Flags =cast(Node->getOperand(i+1))->getValue(); - MachineOperand::UseType UseTy; switch (Flags) { default: assert(0 && "Bad flags!"); case 1: { // Use of register.