Re: [Mesa-dev] [PATCH] u_vbuf: Silence uninitialized variable warnings.

2011-12-01 Thread Brian Paul
On 11/30/2011 04:35 PM, Vinson Lee wrote: 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 [-Wu

[Mesa-dev] [PATCH] u_vbuf: Silence uninitialized variable warnings.

2011-11-30 Thread Vinson Lee
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 --