From: Gert Wollny Date: Thu, 16 Nov 2017 15:09:54 +0000 (+0100) Subject: gallium/aux/util/u_debug_refcnt.h: Fix -Wunused-param warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bdad3d98ccf6a408fd0d13224c22e07c81a87ae;p=mesa.git gallium/aux/util/u_debug_refcnt.h: Fix -Wunused-param warnings Annotate the according parameters accordingly. 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_refcnt.h b/src/gallium/auxiliary/util/u_debug_refcnt.h index cf047776661..e1b4adbaf73 100644 --- a/src/gallium/auxiliary/util/u_debug_refcnt.h +++ b/src/gallium/auxiliary/util/u_debug_refcnt.h @@ -55,8 +55,8 @@ debug_reference(const struct pipe_reference* p, #else static inline void -debug_reference(const struct pipe_reference* p, - debug_reference_descriptor get_desc, int change) +debug_reference(UNUSED const struct pipe_reference* p, + UNUSED debug_reference_descriptor get_desc, UNUSED int change) { }