r600g: fix a compiler warning
authorMarek Olšák <maraeo@gmail.com>
Fri, 30 Sep 2011 21:06:51 +0000 (23:06 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 30 Sep 2011 21:20:27 +0000 (23:20 +0200)
src/gallium/drivers/r600/r600_hw_context.c

index d261e2a4a63871b7b9f95078f67bae29976e69c6..9d6b0534c98220bac966b864fdcf810f796e9f61 100644 (file)
@@ -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) {