diff options
author | Vinson Lee <[email protected]> | 2010-02-12 22:33:37 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-02-12 22:33:37 -0800 |
commit | f61864163103dc7e086623f1fdbab9631ea97e28 (patch) | |
tree | 57134857a562597d9f9f3d833fa7b944ee7240ee /src/gallium | |
parent | 6a07a1738ce84a747ce1f51cf68d583d0ccb3bd5 (diff) |
svga: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/svga/svgadump/svga_shader_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |