diff options
| author | Jeff King <peff@peff.net> | 2023-08-29 19:45:40 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-08-29 17:56:26 -0700 |
| commit | 316b3a226a16f52fb152d8869aa71233ce47768d (patch) | |
| tree | af6165892ba09924ac959708f5d3b7b0faed7165 /builtin/update-ref.c | |
| parent | fd3fe4914a59df93aeb67572d8932d2ae4cedb0d (diff) | |
| download | git-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
