[Mesa-dev] [PATCH 21/23] gallium/aux/util/u_debug_refcnt.h: Fix -Wunused-param warnings
Gert Wollny
gw.fossdev at gmail.com
Sun Nov 12 13:55:53 UTC 2017
Annotate the according parameters accordingly.
---
src/gallium/auxiliary/util/u_debug_refcnt.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_debug_refcnt.h b/src/gallium/auxiliary/util/u_debug_refcnt.h
index cf04777666..daccdb2cc1 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(const struct pipe_reference* p UNUSED,
+ debug_reference_descriptor get_desc UNUSED, int change UNUSED)
{
}
--
2.13.6
More information about the mesa-dev
mailing list