]> git.ipfire.org Git - thirdparty/git.git/commit
imap-send: mark unused parameter in ssl_socket_connect() fallback
authorJeff King <peff@peff.net>
Sat, 17 Aug 2024 08:21:27 +0000 (04:21 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Aug 2024 16:46:10 +0000 (09:46 -0700)
commit4647f24302a01465fa5c2a90e7a60d0aa96ac49b
treed69777e9dd4b4cb2b200afe559658841d5775809
parentb9849e4f7631d80f146d159bf7b60263b3205632
imap-send: mark unused parameter in ssl_socket_connect() fallback

Commit cea1ff7f1f (imap-send: drop global `imap_server_conf` variable,
2024-06-07) added an imap_server_conf parameter to several functions.
But when compiled with NO_OPENSSL, the ssl_socket_connect() fallback
just returns immediately, so its parameters all need to be annotated to
avoid triggering -Wunused-parameter.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c