aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-07-03 02:34:02 -0400
committerJunio C Hamano <gitster@pobox.com>2023-07-05 10:16:53 -0700
commitec9e358a4a1a0f5513d57f5447d43e31a508dd17 (patch)
treef132e0610ee9154eef0ae17ead154ef9d2c29566 /builtin/commit-graph.c
parentimap-send: use server conf argument in setup_curl() (diff)
downloadgit-ec9e358a4a1a0f5513d57f5447d43e31a508dd17.tar.gz
git-ec9e358a4a1a0f5513d57f5447d43e31a508dd17.zip
imap-send: drop unused parameter from imap_cmd_cb callback
There's a generic callback mechanism for handling plus-continuation of IMAP commands. It takes the imap_cmd struct itself as an argument. That seems reasonable, and in a larger imap-using program it might be used. But in imap-send, we have only one such callback (auth_cram_md5) and it doesn't use this value, triggering -Wunused-parameter warnings. We could just mark the parameter as UNUSED. But since this is the only such function, and because we are not likely to share code with the upstream isync anymore, we can just simplify the interface to remove this parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions