diff options
author | Jeff King <peff@peff.net> | 2024-08-29 16:08:33 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-29 13:56:46 -0700 |
commit | 3cdddcf6b220cb6097b00ff7df1e4d0277ec43c4 (patch) | |
tree | 316c8eb898e53d5b6b735100b0f6f99344923cdf /commit-graph.c | |
parent | 4590f2e9412378c61eac95966709c78766d326ba (diff) |
gc: drop MAYBE_UNUSED annotation from used parameter
The "opts" parameter is always used, so marking it with MAYBE_UNUSED is
just confusing.
This annotation goes back to 41abfe15d9 (maintenance: add pack-refs
task, 2021-02-09), when it really was unused. Back then we did not have
the UNUSED macro that would complain if the code changed to use the
parameter. So when we started using it in bfc2f9eb8e (builtin/gc:
forward git-gc(1)'s `--auto` flag when packing refs, 2024-03-25), nobody
noticed.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions