diff options
author | Gert Wollny <[email protected]> | 2017-11-16 16:09:38 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-17 09:27:56 -0700 |
commit | e979ab70c2b1aa350ae6f23fe9affd9d8dd636ff (patch) | |
tree | a6dd1334f9b1833f58769db94fb12a1295ceb3fb | |
parent | 20d3e943b1a1a8edb910672d758716059937cddd (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]> (v1)
-rw-r--r-- | src/gallium/auxiliary/util/u_dump_state.c | 4 |
1 files 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 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); } |