]> git.ipfire.org Git - thirdparty/git.git/commit
refs: mark unused parameters in ref_store fsck callbacks
authorJeff King <peff@peff.net>
Sat, 17 Aug 2024 08:22:05 +0000 (04:22 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Aug 2024 16:46:11 +0000 (09:46 -0700)
commitd1aa0fcd450a24256c8455db22ca232c92d1643d
tree241134692daa8d569f9c7c6097f61b5bffc9a9c0
parent9dc1e748ef1f4742134177f0e1c093479ebad8dc
refs: mark unused parameters in ref_store fsck callbacks

Commit ab6f79d8df (refs: set up ref consistency check infrastructure,
2024-08-08) added virtual functions to the ref store for doing fsck
checks. But the packed and reftable backends do not yet do anything.

Let's annotate them to silence -Wunused-parameter.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/packed-backend.c
refs/reftable-backend.c