gallium/aux/util/u_mm.c: Fix one -Wparam-unused warning.
authorGert Wollny <gw.fossdev@gmail.com>
Thu, 16 Nov 2017 15:09:45 +0000 (16:09 +0100)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Nov 2017 16:27:57 +0000 (09:27 -0700)
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)
src/gallium/auxiliary/util/u_mm.c

index 7a45e291920e06ecd5068bfc7775c1a55528690a..c15f62dd731462554c9496f86c664ba7ac6c0837 100644 (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;