gallium/xlib: silence uninitialized var warning
authorBrian Paul <brianp@vmware.com>
Thu, 3 Sep 2009 21:23:15 +0000 (15:23 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Sep 2009 21:23:15 +0000 (15:23 -0600)
src/gallium/winsys/xlib/xlib_brw_screen.c

index fe8dfff767209d610ed4d478924337c86abd105a..a78efb10fa8dff47ae355e481e49d8e4294db6fb 100644 (file)
@@ -364,7 +364,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: