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 <gw.fossdev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
This commit is contained in:
Gert Wollny 2017-11-16 16:09:45 +01:00 committed by Brian Paul
parent 1c0d4baaf7
commit 2644a80ccf
1 changed files with 1 additions and 1 deletions

View File

@ -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;