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

Author: Brian Paul <[email protected]>
Date:   Thu Sep  3 15:23:15 2009 -0600

gallium/xlib: silence uninitialized var warning

---

 src/gallium/winsys/xlib/xlib_brw_screen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/winsys/xlib/xlib_brw_screen.c 
b/src/gallium/winsys/xlib/xlib_brw_screen.c
index 6f3861e..ef54579 100644
--- a/src/gallium/winsys/xlib/xlib_brw_screen.c
+++ b/src/gallium/winsys/xlib/xlib_brw_screen.c
@@ -365,7 +365,7 @@ void xlib_brw_buffer_subdata_typed( struct pipe_winsys *pws,
                                     unsigned data_type )
 {
    unsigned aub_type = DW_GENERAL_STATE;
-   unsigned aub_sub_type;
+   unsigned aub_sub_type = 0;
 
    switch (data_type) {
    case BRW_CC_VP:

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to