Annotate the according parameters accordingly.

v2: move UNUSED decoration in front of parameter declaration

Signed-off-by: Gert Wollny <gw.foss...@gmail.com>
Reviewed-by: Brian Paul <bri...@vmware.com> (v1)
---
 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..e1b4adbaf7 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)
 {
 }
 
-- 
2.13.6

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to