From 1c4a34a3ab9b0b5175d51a7030f7d1aefafc49b1 Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Tue, 26 Nov 2024 11:36:33 +0000 Subject: [PATCH] Clean up dns_zonemgr_unreachabledel() The results of isc_sockaddr_format() calls are not used, remove them and the local variables. --- lib/dns/zone.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 7ef570c3d1..928183348e 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -19584,11 +19584,6 @@ void dns_zonemgr_unreachabledel(dns_zonemgr_t *zmgr, isc_sockaddr_t *remote, isc_sockaddr_t *local) { unsigned int i; - char primary[ISC_SOCKADDR_FORMATSIZE]; - char source[ISC_SOCKADDR_FORMATSIZE]; - - isc_sockaddr_format(remote, primary, sizeof(primary)); - isc_sockaddr_format(local, source, sizeof(source)); REQUIRE(DNS_ZONEMGR_VALID(zmgr));