u_vbuf: Silence uninitialized variable warnings.
authorVinson Lee <vlee@vmware.com>
Wed, 30 Nov 2011 23:32:16 +0000 (15:32 -0800)
committerVinson Lee <vlee@vmware.com>
Thu, 1 Dec 2011 19:41:14 +0000 (11:41 -0800)
commitde93347d482a96f88c898622c9620f03e677e386
tree16a170e2d1cc48b8f6dc012c5bdbacd15755ef37
parent5df2d18f7015d00bc34454551fb60d55efe101a2
u_vbuf: Silence uninitialized variable warnings.

Fixes these GCC warnings.
u_vbuf.c: In function ‘u_vbuf_draw_begin’:
u_vbuf.c:839:20: warning: ‘max_index’ may be used uninitialized in this function [-Wuninitialized]
u_vbuf.c:838:20: warning: ‘min_index’ may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Vinson Lee <vlee@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_vbuf.c