summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler')
-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 125d64e649..4286baed0c 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){