aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2017-11-16 16:09:35 +0100
committerBrian Paul <[email protected]>2017-11-17 09:27:56 -0700
commit9b80c03870f97be1e5ed1ed5c7b82b87749760f2 (patch)
treeb6ddbc86a81db4ce79882d57c05d95a098052cb3 /src/gallium/auxiliary
parentca7d5170eb7660e86dfddcc1fa2d359d12b78ef6 (diff)
gallium/aux/util/u_debug_describe.c: Silence an -Wunused-param warning
Annotate the unused parameter. v2: move UNUSED decoration in front of parameter declaration Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Brian Paul <[email protected]> (v1)
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_debug_describe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_debug_describe.c b/src/gallium/auxiliary/util/u_debug_describe.c
index f428d22d205..4bcd5624af4 100644
--- a/src/gallium/auxiliary/util/u_debug_describe.c
+++ b/src/gallium/auxiliary/util/u_debug_describe.c
@@ -30,7 +30,7 @@
#include "util/u_string.h"
void
-debug_describe_reference(char* buf, const struct pipe_reference*ptr)
+debug_describe_reference(char* buf, UNUSED const struct pipe_reference*ptr)
{
strcpy(buf, "pipe_object");
}