mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Merge branch 'jk/mark-unused-parameters'
Mark unused parameters as UNUSED to squelch -Wunused warnings. * jk/mark-unused-parameters: t-hashmap: stop calling setup() for t_intern() test scalar: mark unused parameters in dummy function daemon: mark unused parameters in non-posix fallbacks setup: mark unused parameter in config callback test-mergesort: mark unused parameters in trivial callback t-hashmap: mark unused parameters in callback function reftable: mark unused parameters in virtual functions reftable: drop obsolete test function declarations reftable: ignore unused argc/argv in test functions unit-tests: ignore unused argc/argv t/helper: mark more unused argv/argc arguments oss-fuzz: mark unused argv/argc argument refs: mark unused parameters in do_for_each_reflog_helper() refs: mark unused parameters in ref_store fsck callbacks update-ref: mark more unused parameters in parser callbacks imap-send: mark unused parameter in ssl_socket_connect() fallback
This commit is contained in:
@@ -192,7 +192,7 @@ static void socket_perror(const char *func, struct imap_socket *sock, int ret)
|
||||
|
||||
#ifdef NO_OPENSSL
|
||||
static int ssl_socket_connect(struct imap_socket *sock UNUSED,
|
||||
const struct imap_server_conf *cfg,
|
||||
const struct imap_server_conf *cfg UNUSED,
|
||||
int use_tls_only UNUSED)
|
||||
{
|
||||
fprintf(stderr, "SSL requested but SSL support not compiled in\n");
|
||||
|
||||
Reference in New Issue
Block a user