gallium/aux/util/u_debug_image.c: Silence warnings -Wunused-param
authorGert Wollny <gw.fossdev@gmail.com>
Thu, 16 Nov 2017 15:10:00 +0000 (16:10 +0100)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Nov 2017 16:27:58 +0000 (09:27 -0700)
Decorate the according parameters with UNUSED.

Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_debug_image.c

index 98d73a6..f0fd6cf 100644 (file)
@@ -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)
 {