From: Marek Olšák Date: Fri, 30 Sep 2011 21:06:51 +0000 (+0200) Subject: r600g: fix a compiler warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aae342cff098034b6f685a81ecb4cd5e3fa92162;p=mesa.git r600g: fix a compiler warning --- diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index d261e2a4a63..9d6b0534c98 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -1617,6 +1617,7 @@ void r600_query_begin(struct r600_context *ctx, struct r600_query *query) break; default: assert(0); + return; } if ((required_space + ctx->pm4_cdwords) > ctx->pm4_ndwords) {