svga: Don't return value from void function.
Addresses MSVC warning C4098: 'svga_destroy_query' : 'void' function returning a value. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
c127e6a3ea
commit
a11955b9f9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue