aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/update-ref.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-08-29 19:45:40 -0400
committerJunio C Hamano <gitster@pobox.com>2023-08-29 17:56:26 -0700
commit316b3a226a16f52fb152d8869aa71233ce47768d (patch)
treeaf6165892ba09924ac959708f5d3b7b0faed7165 /builtin/update-ref.c
parentfd3fe4914a59df93aeb67572d8932d2ae4cedb0d (diff)
downloadgit-316b3a226a16f52fb152d8869aa71233ce47768d.tar.gz
gc: mark unused descriptors in scheduler callbacks
Each of the scheduler update callbacks gets the descriptor of the lock file, but only the crontab updater needs it. We have to retain the unused descriptors because these are dispatched from a table of function pointers, but we should mark them to silence -Wunused-parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/update-ref.c')
0 files changed, 0 insertions, 0 deletions