From 2049c635ee78b7c5d48cb6821b23eccbd1f475eb Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Thu, 16 Nov 2017 16:09:53 +0100 Subject: gallium/aux/util/u_blit.c: Fix -Wunused-param warnings Annotate the parameters accordingly. v2: move UNUSED decoration in front of parameter declaration Signed-off-by: Gert Wollny v1: Reviewed-by: Brian Paul (v1) --- src/gallium/auxiliary/util/u_blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c index 3e49667029a..3f92476f0c0 100644 --- a/src/gallium/auxiliary/util/u_blit.c +++ b/src/gallium/auxiliary/util/u_blit.c @@ -371,7 +371,7 @@ util_blit_pixels(struct blit_state *ctx, struct pipe_surface *dst, int dstX0, int dstY0, int dstX1, int dstY1, - float z, uint filter, + MAYBE_UNUSED float z, uint filter, uint writemask) { struct pipe_context *pipe = ctx->pipe; -- cgit v1.2.3