diff options
author | Jose Fonseca <[email protected]> | 2015-11-25 13:34:18 +0000 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2015-11-27 14:14:25 +0000 |
commit | a11955b9f9ffe52c21dd8551d1de4f55f218db54 (patch) | |
tree | b820dfcdc5f1abf615f363e74e98502974c0fa7f /src | |
parent | c127e6a3ea93e09259f3ef7e44f5f147e7427418 (diff) |
svga: Don't return value from void function.
Addresses MSVC warning C4098: 'svga_destroy_query' : 'void' function
returning a value.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_query.c b/src/gallium/drivers/svga/svga_pipe_query.c index 5416a009dcb..3859050bf18 100644 --- 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); |