From: Gert Wollny Date: Thu, 16 Nov 2017 15:09:38 +0000 (+0100) Subject: gallium/aux/util/u_dump_state.c: Fix two -Wunused-paramter warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e979ab70c2b1aa350ae6f23fe9affd9d8dd636ff;p=mesa.git gallium/aux/util/u_dump_state.c: Fix two -Wunused-paramter warnings v2: move UNUSED decoration in front of parameter declaration Signed-off-by: Gert Wollny Reviewed-by: Brian Paul (v1) --- diff --git a/src/gallium/auxiliary/util/u_dump_state.c b/src/gallium/auxiliary/util/u_dump_state.c index 2725d50cd9a..b68de134275 100644 --- a/src/gallium/auxiliary/util/u_dump_state.c +++ b/src/gallium/auxiliary/util/u_dump_state.c @@ -112,7 +112,7 @@ util_dump_array_end(FILE *stream) } static void -util_dump_elem_begin(FILE *stream) +util_dump_elem_begin(UNUSED FILE *stream) { } @@ -123,7 +123,7 @@ util_dump_elem_end(FILE *stream) } static void -util_dump_struct_begin(FILE *stream, const char *name) +util_dump_struct_begin(FILE *stream, UNUSED const char *name) { fputs("{", stream); }