Skip to content

Commit

Permalink
Suppress unused-parameter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tidwall committed Sep 28, 2023
1 parent cc342df commit 82a6073
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_index.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 82a6073

Please sign in to comment.