aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-dump-split-index.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-06 13:38:28 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-06 13:38:28 -0700
commit955abf5f72617f6044fdadeeaee7e9b78735340a (patch)
treed3a9fcf9cb14ef496f65a4f16938699b87f14414 /t/helper/test-dump-split-index.c
parentMerge branch 'jk/unused-post-2.40' (diff)
parentparse-options: drop parse_opt_unknown_cb() (diff)
downloadgit-955abf5f72617f6044fdadeeaee7e9b78735340a.tar.gz
git-955abf5f72617f6044fdadeeaee7e9b78735340a.zip
Merge branch 'jk/unused-post-2.40-part2'
Code clean-up for "-Wunused-parameter" build. * jk/unused-post-2.40-part2: parse-options: drop parse_opt_unknown_cb() t/helper: mark unused argv/argc arguments mark "argv" as unused when we check argc builtins: mark unused prefix parameters builtins: annotate always-empty prefix parameters builtins: always pass prefix to parse_options() fast-import: fix file access when run from subdir
Diffstat (limited to 't/helper/test-dump-split-index.c')
-rw-r--r--t/helper/test-dump-split-index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-dump-split-index.c b/t/helper/test-dump-split-index.c
index 813d0a38fa..4fabbdea49 100644
--- a/t/helper/test-dump-split-index.c
+++ b/t/helper/test-dump-split-index.c
@@ -10,7 +10,7 @@ static void show_bit(size_t pos, void *data)
printf(" %d", (int)pos);
}
-int cmd__dump_split_index(int ac, const char **av)
+int cmd__dump_split_index(int ac UNUSED, const char **av)
{
struct split_index *si;
int i;