From aae342cff098034b6f685a81ecb4cd5e3fa92162 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 30 Sep 2011 23:06:51 +0200 Subject: [PATCH] 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) { -- 2.30.2