Mesa (7.9): r300/compiler: remove unused variables

Marek Olšák mareko at kemper.freedesktop.org
Sat Mar 12 21:40:28 UTC 2011


Module: Mesa
Branch: 7.9
Commit: c91d217ff70ac40067b4f829a9422ab1dec44475
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c91d217ff70ac40067b4f829a9422ab1dec44475

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Mar  8 22:13:29 2011 +0100

r300/compiler: remove unused variables
(cherry picked from commit ff8baec5bc377cab716b0510d98195fb5564fb1a)

---

 .../drivers/dri/r300/compiler/radeon_program_tex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c b/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
index c2f4fe3..8643884 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
@@ -147,7 +147,7 @@ int radeonTransformTEX(
 			return 1;
 		} else {
 			struct rc_instruction * inst_rcp = NULL;
-			struct rc_instruction *inst_mul, *inst_add, *inst_cmp, *inst_cmp2, *inst_mul2;
+			struct rc_instruction *inst_mul, *inst_add, *inst_cmp;
 			unsigned tmp_texsample;
 			unsigned tmp_sum;
 			int pass, fail;




More information about the mesa-commit mailing list