gallium/aux/util/u_dump_state.c: Fix two -Wunused-paramter warnings
authorGert Wollny <gw.fossdev@gmail.com>
Thu, 16 Nov 2017 15:09:38 +0000 (16:09 +0100)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Nov 2017 16:27:56 +0000 (09:27 -0700)
v2: move UNUSED decoration in front of parameter declaration

Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
src/gallium/auxiliary/util/u_dump_state.c

index 2725d50cd9a771ac6e9f72f0a0d6121154649929..b68de134275890f4ff819c84cad116129dc61ace 100644 (file)
@@ -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);
 }