projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c127e6a
)
svga: Don't return value from void function.
author
Jose Fonseca
<jfonseca@vmware.com>
Wed, 25 Nov 2015 13:34:18 +0000
(13:34 +0000)
committer
Jose Fonseca
<jfonseca@vmware.com>
Fri, 27 Nov 2015 14:14:25 +0000
(14:14 +0000)
Addresses MSVC warning C4098: 'svga_destroy_query' : 'void' function
returning a value.
Reviewed-by: Roland Scheidegger <sroland@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 5416a009dcb34c37bac11355bb630ce40cd87323..3859050bf18d46139b10b71a60e186342e97e068 100644
(file)
--- a/
src/gallium/drivers/svga/svga_pipe_query.c
+++ b/
src/gallium/drivers/svga/svga_pipe_query.c
@@
-754,7
+754,8
@@
svga_destroy_query(struct pipe_context *pipe, struct pipe_query *q)
struct svga_query *sq;
if (q == NULL) {
- return destroy_gb_query_obj(svga);
+ destroy_gb_query_obj(svga);
+ return;
}
sq = svga_query(q);