]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t-reftable-block: mark unused argv/argc
authorJeff King <peff@peff.net>
Wed, 28 Aug 2024 04:08:03 +0000 (00:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Aug 2024 17:09:32 +0000 (10:09 -0700)
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>
t/unit-tests/t-reftable-block.c

index 582a8e6036735e02808b93e1b35b63180dd67322..f0124fc3d07279cd0dd698c6d3d43e79a08cc715 100644 (file)
@@ -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");