From: Eric Anholt Date: Tue, 25 Aug 2020 18:31:42 +0000 (-0700) Subject: etnaviv: Fix unused var warning in release build from assertions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65f484198a3c36ec35b34b09b1a7880f06fbc214;p=mesa.git etnaviv: Fix unused var warning in release build from assertions. Reviewed-by: Alyssa Rosenzweig Reviewed-by: Christian Gmeiner Part-of: --- diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.c b/src/gallium/drivers/etnaviv/etnaviv_rs.c index bcd11e05a78..85387d5b7b8 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_rs.c +++ b/src/gallium/drivers/etnaviv/etnaviv_rs.c @@ -269,7 +269,7 @@ void etna_rs_gen_clear_surface(struct etna_context *ctx, struct etna_surface *surf, uint64_t clear_value) { - struct etna_screen *screen = ctx->screen; + ASSERTED struct etna_screen *screen = ctx->screen; struct etna_resource *dst = etna_resource(surf->base.texture); uint32_t format;