From: Gert Wollny Date: Thu, 16 Nov 2017 15:09:45 +0000 (+0100) Subject: gallium/aux/util/u_mm.c: Fix one -Wparam-unused warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2644a80ccfa8118acc21300b6ea9f3eac751e5ef;p=mesa.git gallium/aux/util/u_mm.c: Fix one -Wparam-unused warning. Decorate the unused param accordingly with "UNUSED". v2: move UNUSED decoration in front of parameter declaration Signed-off-by: Gert Wollny Reviewed-by: Brian Paul (v1) --- diff --git a/src/gallium/auxiliary/util/u_mm.c b/src/gallium/auxiliary/util/u_mm.c index 7a45e291920..c15f62dd731 100644 --- a/src/gallium/auxiliary/util/u_mm.c +++ b/src/gallium/auxiliary/util/u_mm.c @@ -106,7 +106,7 @@ u_mmInit(int ofs, int size) static struct mem_block * SliceBlock(struct mem_block *p, int startofs, int size, - int reserved, int alignment) + int reserved, UNUSED int alignment) { struct mem_block *newblock;