From 2dc28a249abcf69422961f0f1e439170d139092f Mon Sep 17 00:00:00 2001 From: Yorgos Thessalonikefs Date: Tue, 7 Apr 2026 18:03:20 +0200 Subject: [PATCH] - Fix unused variable warning. --- daemon/remote.c | 4 +++- doc/Changelog | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) 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. -- 2.47.3