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