From c7bf83ef5cf65d2ed730fcb2e560cd6531a5953a Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Thu, 16 Nov 2017 16:10:00 +0100 Subject: [PATCH] gallium/aux/util/u_debug_image.c: Silence warnings -Wunused-param Decorate the according parameters with UNUSED. Signed-off-by: Gert Wollny Reviewed-by: Brian Paul --- src/gallium/auxiliary/util/u_debug_image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_debug_image.c b/src/gallium/auxiliary/util/u_debug_image.c index 98d73a63de2..f0fd6cf8339 100644 --- a/src/gallium/auxiliary/util/u_debug_image.c +++ b/src/gallium/auxiliary/util/u_debug_image.c @@ -47,7 +47,7 @@ */ void debug_dump_image(const char *prefix, - enum pipe_format format, unsigned cpp, + enum pipe_format format, UNUSED unsigned cpp, unsigned width, unsigned height, unsigned stride, const void *data) @@ -202,7 +202,7 @@ debug_dump_surface_bmp(struct pipe_context *pipe, } void -debug_dump_transfer_bmp(struct pipe_context *pipe, +debug_dump_transfer_bmp(UNUSED struct pipe_context *pipe, const char *filename, struct pipe_transfer *transfer, void *ptr) { -- 2.11.0