Fix VC++ warning.
authorJeff Cohen <jeffc@jolt-lang.org>
Sat, 4 Feb 2006 16:20:31 +0000 (16:20 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Sat, 4 Feb 2006 16:20:31 +0000 (16:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25975 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/ScheduleDAG.cpp

index 58344872a5315e7bb7a3cac9e01e62a2bfbaccfd..157487056909ae4a168078460b5c049111518fe7 100644 (file)
@@ -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<ConstantSDNode>(Node->getOperand(i+1))->getValue();
-        MachineOperand::UseType UseTy;
         switch (Flags) {
         default: assert(0 && "Bad flags!");
         case 1: { // Use of register.