From 55417140cd2457a2fec7b87fffe9e25eabbb2ca9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 17 Aug 2016 08:20:33 -0600 Subject: svga: initialize a variable to silence a gcc warning Reviewed-by: Charmaine Lee --- src/gallium/drivers/svga/svga_pipe_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/svga/svga_pipe_query.c b/src/gallium/drivers/svga/svga_pipe_query.c index bf074b6095c..33822e6e5ca 100644 --- a/src/gallium/drivers/svga/svga_pipe_query.c +++ b/src/gallium/drivers/svga/svga_pipe_query.c @@ -1091,7 +1091,7 @@ svga_get_query_result(struct pipe_context *pipe, (void *)&occResult, sizeof(occResult)); vresult->b = occResult.anySamplesRendered != 0; } else { - uint64_t count; + uint64_t count = 0; ret = get_query_result_vgpu9(svga, sq, wait, &count); vresult->b = count != 0; } -- cgit v1.2.3