From 82a6073e4a77f4c22638c68dcf7d332aa4bbf189 Mon Sep 17 00:00:00 2001 From: tidwall Date: Thu, 28 Sep 2023 11:36:06 -0700 Subject: [PATCH] Suppress unused-parameter warning --- tests/test_index.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_index.c b/tests/test_index.c index 628ac34..d358a18 100644 --- a/tests/test_index.c +++ b/tests/test_index.c @@ -495,6 +495,8 @@ struct icounterctx { }; bool icounter(const struct tg_geom *geom, int index, void *udata) { + (void)geom; + (void)index; struct icounterctx *ctx = udata; ctx->count++; return true;