From: W.C.A. Wijngaards Date: Thu, 3 Apr 2025 13:21:16 +0000 (+0200) Subject: - Fix parameter unused warning in net_help.c. X-Git-Tag: release-1.23.0rc1~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb5a019d9f89144cec1768b863a6838bbab645de;p=thirdparty%2Funbound.git - Fix parameter unused warning in net_help.c. --- diff --git a/doc/Changelog b/doc/Changelog index 9e34b7a1d..9c820e455 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -4,6 +4,7 @@ to allow two arguments. - Fix ub_event and include dnstap and win_svc headers. - Fix test for stat_values for wait limit defaults for localhost. + - Fix parameter unused warning in net_help.c. 2 April 2025: Yorgos - Merge #1262 from markyang92, fix build with diff --git a/util/net_help.c b/util/net_help.c index 81499f228..c57228eee 100644 --- a/util/net_help.c +++ b/util/net_help.c @@ -1393,6 +1393,8 @@ void* listen_sslctx_create(const char* key, const char* pem, return NULL; } } +#else + (void)tls_ciphersuites; /* variable unused. */ #endif /* HAVE_SSL_CTX_SET_CIPHERSUITES */ if(set_ticket_keys_cb) { if(!setup_ticket_keys_cb(ctx)) {