Mesa (master): radeon/llvm: Fix unused variable warning

Tom Stellard tstellar at kemper.freedesktop.org
Mon Sep 17 21:00:56 UTC 2012


Module: Mesa
Branch: master
Commit: 0b1a182905a035bcfafb94269aaca786554b445a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b1a182905a035bcfafb94269aaca786554b445a

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Mon Sep 17 19:08:00 2012 +0000

radeon/llvm: Fix unused variable warning

---

 src/gallium/drivers/radeon/R600ISelLowering.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/radeon/R600ISelLowering.cpp b/src/gallium/drivers/radeon/R600ISelLowering.cpp
index dc75a45..a9b0c70 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<CondCodeSDNode>(CC)->get();
   SDValue Temp;
 
   // LHS and RHS are guaranteed to be the same value type




More information about the mesa-commit mailing list