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

Marek Olšák mareko at kemper.freedesktop.org
Tue Mar 8 21:14:09 UTC 2011


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

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

r300/compiler: remove unused variables

---

 .../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 33f9b06..0403b8b 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c
@@ -150,7 +150,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