summaryrefslogtreecommitdiff
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 16:07:46 -0600
commit9e711b6865fdd2842d1dbfa15ab03488dfd2e86f (patch)
treefc5602dce25904688955a357441f2f99afd9c384
parent5a8e1ddf193bb25c5cf05b70088c64ede772d7e9 (diff)
gallium/xlib: silence uninitialized var warning
-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 6f3861e2c..ef545796f 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: