st/mesa: silence warnings in optimized builds
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 16 Nov 2016 09:39:04 +0000 (10:39 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 18 Nov 2016 08:49:22 +0000 (09:49 +0100)
commitda2a51129bfcb761d10a7a0b3c6579aa0adc5137
tree90e8a53d22b863a2e055888b724566f3b2391ec2
parent9882ed85bd603bf729c6d56c7f1922a477159b36
st/mesa: silence warnings in optimized builds

Mark variables and static functions that only occur in assert()s as
MAYBE_UNUSED.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_sampler_view.c