r300/compiler: silence a warning
authorMarek Olšák <maraeo@gmail.com>
Sat, 15 May 2010 21:53:04 +0000 (23:53 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 15 May 2010 21:53:04 +0000 (23:53 +0200)
src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c

index 42c08cd550537a0499487c5b031d613773557790..8336e58d554502cfbe4637f706d55a0563bccba5 100644 (file)
@@ -119,7 +119,7 @@ int radeonTransformTEX(
                        struct rc_instruction * inst_cmp;
                        unsigned tmp_texsample = rc_find_free_temporary(c);
                        unsigned tmp_sum = rc_find_free_temporary(c);
-                       unsigned tmp_recip_w;
+                       unsigned tmp_recip_w = 0;
                        int pass, fail, tex;
 
                        /* Save the output register. */