Re: [Mesa-dev] [PATCH 4/4] etnaviv: annotate variables only used in debug build

2018-11-15 Thread Philipp Zabel
On Thu, 2018-11-15 at 15:37 +0100, Lucas Stach wrote: > 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 > --- > src/g

[Mesa-dev] [PATCH 4/4] etnaviv: annotate variables only used in debug build

2018-11-15 Thread Lucas Stach
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 --- src/gallium/drivers/etnaviv/etnaviv_compiler.c | 8 1 file chang