]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
refs: mark unused reflog callback parameters
authorJeff King <peff@peff.net>
Fri, 19 Aug 2022 10:08:35 +0000 (06:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2022 19:18:54 +0000 (12:18 -0700)
commitc006e9fa59c02261738e20890f1aecd78f9db707
treea4cf31a2702cc2221c8093e32495fde1a4e47d97
parent63e14ee2d69b58eae72e34df81f2cde145427037
refs: mark unused reflog callback parameters

Functions used with for_each_reflog_ent() need to conform to a
particular interface, but not every function needs all of the
parameters. Mark the unused ones to make -Wunused-parameter happy.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fsck.c
builtin/stash.c
commit.c
object-name.c
reflog.c
refs.c
remote.c
revision.c
t/helper/test-ref-store.c
wt-status.c