From: Gert Wollny Date: Thu, 16 Nov 2017 15:10:00 +0000 (+0100) Subject: gallium/aux/util/u_debug_image.c: Silence warnings -Wunused-param X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7bf83ef5cf65d2ed730fcb2e560cd6531a5953a;p=mesa.git 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 --- 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) {