From: Tom Stellard Date: Mon, 17 Sep 2012 19:08:00 +0000 (+0000) Subject: radeon/llvm: Fix unused variable warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b1a182905a035bcfafb94269aaca786554b445a;p=mesa.git radeon/llvm: Fix unused variable warning --- diff --git a/src/gallium/drivers/radeon/R600ISelLowering.cpp b/src/gallium/drivers/radeon/R600ISelLowering.cpp index dc75a450bdc..a9b0c70fd95 100644 --- a/src/gallium/drivers/radeon/R600ISelLowering.cpp +++ b/src/gallium/drivers/radeon/R600ISelLowering.cpp @@ -433,7 +433,6 @@ SDValue R600TargetLowering::LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const SDValue True = Op.getOperand(2); SDValue False = Op.getOperand(3); SDValue CC = Op.getOperand(4); - ISD::CondCode CCOpcode = cast(CC)->get(); SDValue Temp; // LHS and RHS are guaranteed to be the same value type