diff options
author | Jeff King <peff@peff.net> | 2023-02-24 01:39:31 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-24 09:13:32 -0800 |
commit | 3c50c88f426dddd6c4cb1c1ae847a1eddd5eafee (patch) | |
tree | 83c6d8d389894065f3377d71a39df7e56b1cbc3c /builtin/commit-tree.c | |
parent | 1758712248ab134a99cf73dcb62c115d955697d8 (diff) |
notes: mark unused callback parameters
for_each_note() requires a callback, but not all callbacks need all of
the parameters. Likewise, init_notes() takes a callback to implement the
"combine" strategy, but the "ignore" variant obviously doesn't look at
its arguments at all. Mark unused parameters as appropriate to silence
compiler warnings.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions