projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca7d517
)
gallium/aux/util/u_debug_describe.c: Silence an -Wunused-param warning
author
Gert Wollny
<gw.fossdev@gmail.com>
Thu, 16 Nov 2017 15:09:35 +0000
(16:09 +0100)
committer
Brian Paul
<brianp@vmware.com>
Fri, 17 Nov 2017 16:27:56 +0000
(09:27 -0700)
Annotate the unused parameter.
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_describe.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_debug_describe.c
b/src/gallium/auxiliary/util/u_debug_describe.c
index f428d22d20556564134b1f6bf3dc5c40b963302f..4bcd5624af400b2bc97a5429bdde5a645adb13b3 100644
(file)
--- a/
src/gallium/auxiliary/util/u_debug_describe.c
+++ b/
src/gallium/auxiliary/util/u_debug_describe.c
@@
-30,7
+30,7
@@
#include "util/u_string.h"
void
-debug_describe_reference(char* buf, const struct pipe_reference*ptr)
+debug_describe_reference(char* buf,
UNUSED
const struct pipe_reference*ptr)
{
strcpy(buf, "pipe_object");
}