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 22:07:46 +0000 (16:07 -0600)
src/gallium/winsys/xlib/xlib_brw_screen.c

index 6f3861e2cd6f4fe579dff3c0037ba0cbb046fef5..ef545796f3c89f512845818a7608404004c3c67c 100644 (file)
@@ -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: