From 4f433dafa5f13028453259e30a444eea76d146a1 Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Sat, 4 Feb 2006 16:20:31 +0000 Subject: [PATCH] Fix VC++ warning. llvm-svn: 25975 --- lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | 1 - 1 file changed, 1 deletion(-) 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.