mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue