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 <gw.fossdev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
This commit is contained in:
Gert Wollny 2017-11-16 16:09:54 +01:00 committed by Brian Paul
parent 2049c635ee
commit 4bdad3d98c
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{
}