From: Vinson Lee Date: Fri, 16 Jul 2010 08:07:13 +0000 (-0700) Subject: i965g: Remove dead initialization in precalc_tex. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b387ee087470df7bf3672882471cd8d108f33cc;p=mesa.git i965g: Remove dead initialization in precalc_tex. --- diff --git a/src/gallium/drivers/i965/brw_wm_fp.c b/src/gallium/drivers/i965/brw_wm_fp.c index 9c67759ad0b..f7ee55cc1c8 100644 --- a/src/gallium/drivers/i965/brw_wm_fp.c +++ b/src/gallium/drivers/i965/brw_wm_fp.c @@ -678,7 +678,7 @@ static void precalc_tex( struct brw_wm_compile *c, struct brw_fp_src src0, struct brw_fp_src sampler ) { - struct brw_fp_src coord = src_undef(); + struct brw_fp_src coord; struct brw_fp_dst tmp = dst_undef(); assert(unit < BRW_MAX_TEX_UNIT);