[Mesa-dev] [PATCH v2 05/29] gallium/aux/util/u_dump_state.c: Fix two -Wunused-paramter warnings
Gert Wollny
gw.fossdev at gmail.com
Thu Nov 16 15:09:38 UTC 2017
v2: move UNUSED decoration in front of parameter declaration
Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com> (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 2725d50cd9..b68de13427 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.13.6
More information about the mesa-dev
mailing list