[Mesa-dev] [PATCH 05/23] gallium/aux/util/u_dump_state.c: Fix two -Wunused-paramter warnings

Gert Wollny gw.fossdev at gmail.com
Sun Nov 12 13:55:37 UTC 2017


---
 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 2725d50cd9..512fb677d3 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(FILE *stream UNUSED)
 {
 }
 
@@ -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, const char *name UNUSED)
 {
    fputs("{", stream);
 }
-- 
2.13.6



More information about the mesa-dev mailing list