]> Kevux Git Server - rit/commit
t/helper: mark unused callback void data parameters
authorJeff King <peff@peff.net>
Mon, 3 Jul 2023 06:44:36 +0000 (02:44 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Jul 2023 00:24:00 +0000 (17:24 -0700)
commit1e9cb3487ad21a4ac78a613abc04a131c8950633
treed7927ffc7f2f4c573c6446a5eeefa05c0825e828
parentcc2f810172a09f8c451594b3662c010830b37903
t/helper: mark unused callback void data parameters

Many callback interfaces have an extra void data parameter, but we don't
always need it (especially for dumping functions like the ones in test
helpers). Mark them as unused to avoid -Wunused-parameter warnings.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-dump-split-index.c
t/helper/test-oid-array.c