mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-05 14:30:30 +01:00
gallium/aux/util/u_debug_flush.c: Silence warnings -Wunused-param
Decorate the unused 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
1dca234daf
commit
f23f2146cb
1 changed files with 4 additions and 3 deletions
|
|
@ -151,7 +151,8 @@ debug_flush_item_destroy(struct debug_flush_item *item)
|
|||
}
|
||||
|
||||
struct debug_flush_ctx *
|
||||
debug_flush_ctx_create(boolean catch_reference_of_mapped, unsigned bt_depth)
|
||||
debug_flush_ctx_create(UNUSED boolean catch_reference_of_mapped,
|
||||
unsigned bt_depth)
|
||||
{
|
||||
struct debug_flush_ctx *fctx = CALLOC_STRUCT(debug_flush_ctx);
|
||||
|
||||
|
|
@ -315,7 +316,7 @@ out_no_item:
|
|||
}
|
||||
|
||||
static enum pipe_error
|
||||
debug_flush_might_flush_cb(void *key, void *value, void *data)
|
||||
debug_flush_might_flush_cb(UNUSED void *key, void *value, void *data)
|
||||
{
|
||||
struct debug_flush_item *item =
|
||||
(struct debug_flush_item *) value;
|
||||
|
|
@ -356,7 +357,7 @@ debug_flush_might_flush(struct debug_flush_ctx *fctx)
|
|||
}
|
||||
|
||||
static enum pipe_error
|
||||
debug_flush_flush_cb(void *key, void *value, void *data)
|
||||
debug_flush_flush_cb(UNUSED void *key, void *value, UNUSED void *data)
|
||||
{
|
||||
struct debug_flush_item *item =
|
||||
(struct debug_flush_item *) value;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue