From: Marek Olšák Date: Sat, 15 May 2010 21:53:04 +0000 (+0200) Subject: r300/compiler: silence a warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ab72a5a0a35b84249863fe6616aaa66c0313c1c;p=mesa.git r300/compiler: silence a warning --- 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 42c08cd5505..8336e58d554 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c @@ -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. */