summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2017-11-16 16:09:59 +0100
committerBrian Paul <[email protected]>2017-11-17 09:27:58 -0700
commitf23f2146cb8699df06a592cd13ca1ffd2c488862 (patch)
treeb1642b9dbf4bd305ac713c920cc06742fa77f1ca /src/gallium/auxiliary/util
parent1dca234daf1ef0a61fadc0ae0dadc599d3f8b7f0 (diff)
gallium/aux/util/u_debug_flush.c: Silence warnings -Wunused-param
Decorate the unused parameters with UNUSED. Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_debug_flush.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_debug_flush.c b/src/gallium/auxiliary/util/u_debug_flush.c
index 98a69b2de05..c49af095ed1 100644
--- a/src/gallium/auxiliary/util/u_debug_flush.c
+++ b/src/gallium/auxiliary/util/u_debug_flush.c
@@ -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;