projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2049c63
)
gallium/aux/util/u_debug_refcnt.h: Fix -Wunused-param warnings
author
Gert Wollny
<gw.fossdev@gmail.com>
Thu, 16 Nov 2017 15:09:54 +0000
(16:09 +0100)
committer
Brian Paul
<brianp@vmware.com>
Fri, 17 Nov 2017 16:27:57 +0000
(09:27 -0700)
Annotate the according parameters accordingly.
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_debug_refcnt.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_debug_refcnt.h
b/src/gallium/auxiliary/util/u_debug_refcnt.h
index cf0477766619a5fa2a474b9d2089c24f0382ce87..e1b4adbaf731fd18a86408f8b4e8c3c071077a30 100644
(file)
--- a/
src/gallium/auxiliary/util/u_debug_refcnt.h
+++ b/
src/gallium/auxiliary/util/u_debug_refcnt.h
@@
-55,8
+55,8
@@
debug_reference(const struct pipe_reference* p,
#else
static inline void
-debug_reference(const struct pipe_reference* p,
-
debug_reference_descriptor get_desc,
int change)
+debug_reference(
UNUSED
const struct pipe_reference* p,
+
UNUSED debug_reference_descriptor get_desc, UNUSED
int change)
{
}