summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2017-11-16 16:10:00 +0100
committerBrian Paul <[email protected]>2017-11-17 09:27:58 -0700
commitc7bf83ef5cf65d2ed730fcb2e560cd6531a5953a (patch)
tree84ccbf4ad2b70b0da47ab1ad5479e5c0673822bf /src/gallium/auxiliary/util
parentf23f2146cb8699df06a592cd13ca1ffd2c488862 (diff)
gallium/aux/util/u_debug_image.c: Silence warnings -Wunused-param
Decorate the according parameters with UNUSED. Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_debug_image.c4
1 files 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)
{