diff options
author | Gert Wollny <[email protected]> | 2017-11-16 16:09:45 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-17 09:27:57 -0700 |
commit | 2644a80ccfa8118acc21300b6ea9f3eac751e5ef (patch) | |
tree | 3f71060933ac5b427d2425a56da9593622f1283a /src/gallium/auxiliary | |
parent | 1c0d4baaf7ffc3076fd2496e29507f59541091af (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]> (v1)
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |