summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-07-30 15:11:23 +0100
committerEric Engestrom <[email protected]>2019-07-31 09:41:05 +0100
commit84b8a5054093847a808020fe26a135cc6a99a6ec (patch)
treeba9603efdd186060babcdf9d2331b37d99d769fe
parentaed15fa79966f897f94bb16010de3a7933872491 (diff)
st/tests: drop incorrect MAYBE_UNUSED
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/mesa/state_tracker/tests/st_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/tests/st_format.c b/src/mesa/state_tracker/tests/st_format.c
index 3a2bb76d11d..35225e1abf7 100644
--- a/src/mesa/state_tracker/tests/st_format.c
+++ b/src/mesa/state_tracker/tests/st_format.c
@@ -70,7 +70,7 @@ int main(int argc, char **argv)
pf = st_mesa_format_to_pipe_format(st, i);
if (pf != PIPE_FORMAT_NONE) {
- mesa_format MAYBE_UNUSED mf = st_pipe_format_to_mesa_format(pf);
+ mesa_format mf = st_pipe_format_to_mesa_format(pf);
if (mf != i) {
fprintf(stderr, "Round-tripping %s -> %s -> %s failed\n",
_mesa_get_format_name(i), util_format_short_name(pf),
@@ -87,7 +87,7 @@ int main(int argc, char **argv)
continue;
if (mf != MESA_FORMAT_NONE) {
- enum pipe_format MAYBE_UNUSED pf =
+ enum pipe_format pf =
st_mesa_format_to_pipe_format(st, mf);
if (pf != i) {
fprintf(stderr, "Round-tripping %s -> %s -> %s failed\n",