diff options
author | Brian Paul <brianp@vmware.com> | 2009-09-03 15:23:15 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-03 15:23:15 -0600 |
commit | 1c32caf075ce4015ba50d0aa9f0a2ff924c21970 (patch) | |
tree | 96288cf76cb48eb2612b2024928c04f3bb9ffe54 /src | |
parent | 67c286d20e6f1256950d81aab3f6b54cd4926602 (diff) |
gallium/xlib: silence uninitialized var warning
Diffstat (limited to 'src')
-rw-r--r-- | 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 fe8dfff7672..a78efb10fa8 100644 --- a/src/gallium/winsys/xlib/xlib_brw_screen.c +++ b/src/gallium/winsys/xlib/xlib_brw_screen.c @@ -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: |