From: Gert Wollny Date: Thu, 16 Nov 2017 15:09:35 +0000 (+0100) Subject: gallium/aux/util/u_debug_describe.c: Silence an -Wunused-param warning X-Git-Tag: upstream/18.1.0~3971 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b80c03870f97be1e5ed1ed5c7b82b87749760f2;p=platform%2Fupstream%2Fmesa.git 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) --- diff --git a/src/gallium/auxiliary/util/u_debug_describe.c b/src/gallium/auxiliary/util/u_debug_describe.c index f428d22..4bcd562 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"); }