From 249fcd4499689545d1986172b00cb1a1b2d45648 Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Tue, 18 Jan 2011 00:51:23 +0000 Subject: Remove unused variables found by gcc-4.6's -Wunused-but-set-variable. llvm-svn: 123707 --- llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/CodeGen/SelectionDAG') diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp index 2969eff04f7..0c813834bf1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp @@ -1030,7 +1030,6 @@ void DAGTypeLegalizer::ExpandIntegerResult(SDNode *N, unsigned ResNo) { case ISD::ATOMIC_LOAD_UMIN: case ISD::ATOMIC_LOAD_UMAX: case ISD::ATOMIC_SWAP: { - SDValue Ch = N->getOperand(0); std::pair Tmp = ExpandAtomic(N); SplitInteger(Tmp.first, Lo, Hi); ReplaceValueWith(SDValue(N, 1), Tmp.second); -- cgit v1.2.3