[Mesa-dev] [PATCH 02/23] gallium/aux/util/u_debug_describe.c: Silence an -Wunused-param warning

Gert Wollny gw.fossdev at gmail.com
Sun Nov 12 13:55:34 UTC 2017


* Annotate the unused parameter.
---
 src/gallium/auxiliary/util/u_debug_describe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/util/u_debug_describe.c b/src/gallium/auxiliary/util/u_debug_describe.c
index f428d22d20..9a8e0cc392 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, const struct pipe_reference*ptr UNUSED)
 {
    strcpy(buf, "pipe_object");
 }
-- 
2.13.6



More information about the mesa-dev mailing list