diff options
author | Brian Paul <[email protected]> | 2016-08-17 08:20:33 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-08-17 12:53:20 -0600 |
commit | 55417140cd2457a2fec7b87fffe9e25eabbb2ca9 (patch) | |
tree | 73f5b2008ac40f880035b668ec42b994b67c3c02 | |
parent | 607ab6d3bf7e5d32d57d79b508351bcea13f1740 (diff) |
svga: initialize a variable to silence a gcc warning
Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |