diff options
author | Gert Wollny <[email protected]> | 2017-11-16 16:09:58 +0100 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-17 09:27:57 -0700 |
commit | 1dca234daf1ef0a61fadc0ae0dadc599d3f8b7f0 (patch) | |
tree | 27b3386823bd477576a327bcc671974b84dfe8c4 | |
parent | bec80e892b80cce5f8afec8313b208bc78b7b127 (diff) |
gallium/aux/util/u_debug.c: Silence warnings -Wunused-param
Silence warnings by decoration the parameters with UNUSED.
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
-rw-r--r-- | src/gallium/auxiliary/util/u_debug.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c index 866cfbdd35e..edfb27fc6f6 100644 --- a/src/gallium/auxiliary/util/u_debug.c +++ b/src/gallium/auxiliary/util/u_debug.c @@ -444,7 +444,8 @@ int fl_indent = 0; const char* fl_function[1024]; int -debug_funclog_enter(const char* f, const int line, const char* file) +debug_funclog_enter(const char* f, UNUSED const int line, + UNUSED const char* file) { int i; @@ -459,7 +460,8 @@ debug_funclog_enter(const char* f, const int line, const char* file) } void -debug_funclog_exit(const char* f, const int line, const char* file) +debug_funclog_exit(const char* f, UNUSED const int line, + UNUSED const char* file) { --fl_indent; assert(fl_indent >= 0); @@ -467,7 +469,8 @@ debug_funclog_exit(const char* f, const int line, const char* file) } void -debug_funclog_enter_exit(const char* f, const int line, const char* file) +debug_funclog_enter_exit(const char* f, UNUSED const int line, + UNUSED const char* file) { int i; for (i = 0; i < fl_indent; i++) |