From f61864163103dc7e086623f1fdbab9631ea97e28 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 12 Feb 2010 22:33:37 -0800 Subject: [PATCH] svga: Silence uninitialized variable warning. --- src/gallium/drivers/svga/svgadump/svga_shader_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/svga/svgadump/svga_shader_dump.c b/src/gallium/drivers/svga/svgadump/svga_shader_dump.c index d2bfb439f38..705ca29e8f5 100644 --- a/src/gallium/drivers/svga/svgadump/svga_shader_dump.c +++ b/src/gallium/drivers/svga/svgadump/svga_shader_dump.c @@ -360,7 +360,7 @@ dump_dstreg(struct sh_dstreg dstreg, union { struct sh_reg reg; struct sh_dstreg dstreg; - } u; + } u = { { 0 } }; assert( (dstreg.modifier & (SVGA3DDSTMOD_SATURATE | SVGA3DDSTMOD_PARTIALPRECISION)) == dstreg.modifier ); -- 2.30.2