st/tests: drop incorrect MAYBE_UNUSED
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 30 Jul 2019 14:11:23 +0000 (15:11 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 31 Jul 2019 08:41:05 +0000 (09:41 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/state_tracker/tests/st_format.c

index 3a2bb76d11d67f7ada43c26cbbff4f1f88dc9c0e..35225e1abf79cbd374e0d4ec937aa887999b5da0 100644 (file)
@@ -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",