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: android-x86-8.1-r1~7841 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9b80c03870f97be1e5ed1ed5c7b82b87749760f2;p=android-x86%2Fexternal-mesa.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 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"); }