From aae342cff098034b6f685a81ecb4cd5e3fa92162 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 30 Sep 2011 23:06:51 +0200 Subject: r600g: fix a compiler warning --- src/gallium/drivers/r600/r600_hw_context.c | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3