From: Jeff King Date: Wed, 28 Aug 2024 04:08:03 +0000 (-0400) Subject: t-reftable-block: mark unused argv/argc X-Git-Tag: v2.47.0-rc0~83^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08e83b5ec5db41dd01ce2af54ee67cb1d77e8a6e;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- 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");