aboutsummaryrefslogtreecommitdiffstats
path: root/t/unit-tests/t-reftable-block.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2024-08-28 00:08:03 -0400
committerJunio C Hamano <gitster@pobox.com>2024-08-28 10:09:32 -0700
commit08e83b5ec5db41dd01ce2af54ee67cb1d77e8a6e (patch)
tree85c7d3048ab49b6b4979ea29b0d06f6c09dba96b /t/unit-tests/t-reftable-block.c
parent772408fe7548f4f0fe886eaccda9d3e0aaa8589c (diff)
downloadgit-08e83b5ec5db41dd01ce2af54ee67cb1d77e8a6e.tar.gz
t-reftable-block: mark unused argv/argc
This is conceptually the same as the cases in df9d638c24 (unit-tests: ignore unused argc/argv, 2024-08-17), but this unit test was migrated from the reftable tests in a parallel branch. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-reftable-block.c')
-rw-r--r--t/unit-tests/t-reftable-block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/unit-tests/t-reftable-block.c b/t/unit-tests/t-reftable-block.c
index 582a8e6036..f0124fc3d0 100644
--- a/t/unit-tests/t-reftable-block.c
+++ b/t/unit-tests/t-reftable-block.c
@@ -359,7 +359,7 @@ static void t_index_block_read_write(void)
reftable_record_release(&recs[i]);
}
-int cmd_main(int argc, const char *argv[])
+int cmd_main(int argc UNUSED, const char *argv[] UNUSED)
{
TEST(t_index_block_read_write(), "read-write operations on index blocks work");
TEST(t_log_block_read_write(), "read-write operations on log blocks work");