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:
Jose Fonseca 2015-11-25 13:34:18 +00:00
parent c127e6a3ea
commit a11955b9f9
1 changed files with 2 additions and 1 deletions

View File

@ -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);