[Mesa-dev] [PATCH 20/23] gallium/aux/util/u_blit.c: Fix -Wunused-param warnings
Gert Wollny
gw.fossdev at gmail.com
Sun Nov 12 13:55:52 UTC 2017
Annotate the parameters accordingly.
---
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 3e49667029..ee8d89d9ff 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,
+ float z MAYBE_UNUSED, uint filter,
uint writemask)
{
struct pipe_context *pipe = ctx->pipe;
--
2.13.6
More information about the mesa-dev
mailing list