gallium: fix warnings in release build
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 16 Apr 2016 01:00:12 +0000 (04:00 +0300)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 25 Apr 2016 10:23:21 +0000 (12:23 +0200)
commitcbb0d4ad75e6309932af7995ca80fa5ff5db7c70
tree82a47174ffd75e683e8ab9fe75f5886c59180db5
parentbbeb9ab2f71409aad47485e7a1b8900f6839a481
gallium: fix warnings in release build

Mark variables MAYBE_UNUSED to avoid unused-but-set-variable warnings
in release build.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c
src/gallium/auxiliary/util/u_surface.c
src/gallium/drivers/llvmpipe/lp_setup_vbuf.c
src/gallium/drivers/r600/compute_memory_pool.c
src/gallium/drivers/softpipe/sp_state_sampler.c
src/gallium/drivers/softpipe/sp_tile_cache.c
src/gallium/drivers/trace/tr_context.c