projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20d3e94
)
gallium/aux/util/u_dump_state.c: Fix two -Wunused-paramter warnings
author
Gert Wollny
<gw.fossdev@gmail.com>
Thu, 16 Nov 2017 15:09:38 +0000
(16:09 +0100)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_dump_state.c
b/src/gallium/auxiliary/util/u_dump_state.c
index 2725d50cd9a771ac6e9f72f0a0d6121154649929..b68de134275890f4ff819c84cad116129dc61ace 100644
(file)
--- 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);
}