From 71e750f4822a1cdba24abf1fc48eabeeb77961f8 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 13 Feb 2010 22:51:34 -0800 Subject: [PATCH] softpipe: Silence uninitialized variable warnings. --- src/gallium/drivers/softpipe/sp_tex_sample.c | 3 +++ 1 file changed, 3 insertions(+) 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; } { -- 2.30.2