aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-10-17 21:08:48 -0400
committerJunio C Hamano <gitster@pobox.com>2022-10-17 21:24:04 -0700
commit0cff86990cbae9d5c8ca78cd09cb58f74828979b (patch)
tree87b013d0ac0c30a756197d1f8309eb0c3effb333 /builtin/commit.c
parentdate: mark unused parameters in handler functions (diff)
downloadgit-0cff86990cbae9d5c8ca78cd09cb58f74828979b.tar.gz
git-0cff86990cbae9d5c8ca78cd09cb58f74828979b.zip
apply: mark unused parameters in handlers
In parse_git_diff_header(), we have a table-driven parser that maps strings to handler functions. Not all handlers need all of the parameters; let's mark the unused ones to appease -Wunused-parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions