etnaviv: annotate variables only used in debug build
authorLucas Stach <l.stach@pengutronix.de>
Wed, 14 Nov 2018 14:29:04 +0000 (15:29 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 7 Jan 2019 10:51:02 +0000 (11:51 +0100)
commitd015888efbc544c63e29c805cda9cd8521320877
tree075afd8219f5bf647665fd459ebd64e1f99cc273
parentb56d903b5abe7bf0157f99d707a9114b03231632
etnaviv: annotate variables only used in debug build

Some of the status variables in the compiler are only used in asserts
and thus may be unused in release builds. Annotate them accordingly
to avoid 'unused but set' warnings from the compiler.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_compiler.c