Re: [Mesa-dev] [PATCH] ilo: Initialize need_flush in draw_vbo.

2013-05-23 Thread Chia-I Wu
On Thu, May 23, 2013 at 2:24 PM, Vinson Lee wrote: > need_flush was uninitialized if hw3d->new_batch was true. > > Fixes "Uninitialized scalar variable" defect reported by Coverity. > > Signed-off-by: Vinson Lee Applied, thanks. Now I wonder why gcc did not give me any warning... > --- > src/ga

[Mesa-dev] [PATCH] ilo: Initialize need_flush in draw_vbo.

2013-05-22 Thread Vinson Lee
need_flush was uninitialized if hw3d->new_batch was true. Fixes "Uninitialized scalar variable" defect reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/drivers/ilo/ilo_3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/ilo/ilo_3d.c b/src/