projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
607ab6d
)
svga: initialize a variable to silence a gcc warning
author
Brian Paul
<brianp@vmware.com>
Wed, 17 Aug 2016 14:20:33 +0000
(08:20 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 17 Aug 2016 18:53:20 +0000
(12:53 -0600)
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_pipe_query.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_pipe_query.c
b/src/gallium/drivers/svga/svga_pipe_query.c
index bf074b6095ce4414b51d634ce638456a507bccba..33822e6e5caafd62269666443ae0f831958463e8 100644
(file)
--- 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;
}