From e979ab70c2b1aa350ae6f23fe9affd9d8dd636ff Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Thu, 16 Nov 2017 16:09:38 +0100 Subject: [PATCH] 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) --- src/gallium/auxiliary/util/u_dump_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_dump_state.c b/src/gallium/auxiliary/util/u_dump_state.c index 2725d50..b68de13 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); } -- 2.7.4