From 9b80c03870f97be1e5ed1ed5c7b82b87749760f2 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Thu, 16 Nov 2017 16:09:35 +0100 Subject: [PATCH] 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 Reviewed-by: Brian Paul (v1) --- src/gallium/auxiliary/util/u_debug_describe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.30.2