From: Yorgos Thessalonikefs Date: Tue, 7 Apr 2026 16:03:20 +0000 (+0200) Subject: - Fix unused variable warning. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=HEAD;p=thirdparty%2Funbound.git - Fix unused variable warning. --- diff --git a/daemon/remote.c b/daemon/remote.c index eb0e96b9c..6275ccb23 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -7816,7 +7816,9 @@ fr_worker_pickup_listen_dnsport(struct worker* worker) struct listen_list* ll; void* dot_sslctx = daemon->listen_dot_sslctx; void* doh_sslctx = daemon->listen_doh_sslctx; +#ifdef HAVE_NGTCP2 void* quic_sslctx = daemon->listen_quic_sslctx; +#endif /* HAVE_NGTCP2 */ for(ll = front->cps; ll; ll = ll->next) { struct comm_point* cp = ll->com; if(cp->type == comm_tcp_accept && @@ -7836,7 +7838,7 @@ fr_worker_pickup_listen_dnsport(struct worker* worker) cp->doq_socket->ctx = (SSL_CTX*)quic_sslctx; } -#endif +#endif /* HAVE_NGTCP2 */ } } } diff --git a/doc/Changelog b/doc/Changelog index 767abd875..b8cb16dc1 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +7 April 2026: Yorgos + - Fix unused variable warning. + 30 March 2026: Wouter - Merge #1408: Fix shared memory stats with threads.