projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0d4ba
)
gallium/aux/util/u_mm.c: Fix one -Wparam-unused warning.
author
Gert Wollny
<gw.fossdev@gmail.com>
Thu, 16 Nov 2017 15:09:45 +0000
(16:09 +0100)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_mm.c
b/src/gallium/auxiliary/util/u_mm.c
index 7a45e291920e06ecd5068bfc7775c1a55528690a..c15f62dd731462554c9496f86c664ba7ac6c0837 100644
(file)
--- 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;