mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
gallium/aux/util/u_debug.c: Silence warnings -Wunused-param
Silence warnings by decoration the parameters with UNUSED. Signed-off-by: Gert Wollny <gw.fossdev@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
bec80e892b
commit
1dca234daf
1 changed files with 6 additions and 3 deletions
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue