Module: Mesa
Branch: master
Commit: f61864163103dc7e086623f1fdbab9631ea97e28
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f61864163103dc7e086623f1fdbab9631ea97e28

Author: Vinson Lee <v...@vmware.com>
Date:   Fri Feb 12 22:33:37 2010 -0800

svga: Silence uninitialized variable warning.

---

 .../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 d2bfb43..705ca29 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 );
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to