summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-03 15:23:15 -0600
committerBrian Paul <brianp@vmware.com>2009-09-03 15:23:15 -0600
commit1c32caf075ce4015ba50d0aa9f0a2ff924c21970 (patch)
tree96288cf76cb48eb2612b2024928c04f3bb9ffe54 /src/gallium
parent67c286d20e6f1256950d81aab3f6b54cd4926602 (diff)
gallium/xlib: silence uninitialized var warning
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/xlib/xlib_brw_screen.c2
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 fe8dfff767..a78efb10fa 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: