From: Vinson Lee Date: Sun, 14 Feb 2010 06:51:34 +0000 (-0800) Subject: softpipe: Silence uninitialized variable warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71e750f4822a1cdba24abf1fc48eabeeb77961f8;p=mesa.git softpipe: Silence uninitialized variable warnings. --- diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index 824d8d12b02..ecd6b39863c 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.c +++ b/src/gallium/drivers/softpipe/sp_tex_sample.c @@ -1682,6 +1682,9 @@ sample_cube(struct tgsi_sampler *tgsi_sampler, break; default: assert(0 && "bad cube face"); + sc = 0.0F; + tc = 0.0F; + ma = 0.0F; } {