r300/compiler: Remove unused variable.
authorVinson Lee <vlee@vmware.com>
Tue, 19 Oct 2010 07:07:22 +0000 (00:07 -0700)
committerVinson Lee <vlee@vmware.com>
Tue, 19 Oct 2010 07:07:22 +0000 (00:07 -0700)
src/mesa/drivers/dri/r300/compiler/radeon_compiler.c

index 125d64e6497a2fd454da574a833ffe1262e5d891..4286baed0c69467de17c64ea169112b0b85c9986 100644 (file)
@@ -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){