summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-10-19 00:07:22 -0700
committerVinson Lee <[email protected]>2010-10-19 00:07:22 -0700
commitf36a6420305ff57db542eec611462a71858f128d (patch)
treed26b43b4edd4515ab207c3f020edcc04f62ccd20 /src/mesa/drivers
parentf822cc22f223a0a4f9cf1cdd5871780e5df11d67 (diff)
r300/compiler: Remove unused variable.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_compiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
index 125d64e6497..4286baed0c6 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_compiler.c
@@ -364,7 +364,7 @@ static void reg_count_callback(void * userdata, struct rc_instruction * inst,
static void print_stats(struct radeon_compiler * c)
{
struct rc_instruction * tmp;
- unsigned i, max_reg, insts, fc, tex, alpha, rgb, presub;
+ unsigned max_reg, insts, fc, tex, alpha, rgb, presub;
max_reg = insts = fc = tex = alpha = rgb = presub = 0;
for(tmp = c->Program.Instructions.Next; tmp != &c->Program.Instructions;
tmp = tmp->Next){