OSDN Git Service
(root)
/
android-x86
/
external-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
5416a00
..
3859050
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);