]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Clean up dns_zonemgr_unreachabledel()
authorAram Sargsyan <aram@isc.org>
Tue, 26 Nov 2024 11:36:33 +0000 (11:36 +0000)
committerAram Sargsyan <aram@isc.org>
Wed, 27 Nov 2024 10:37:13 +0000 (10:37 +0000)
The results of isc_sockaddr_format() calls are not used, remove them
and the local variables.

lib/dns/zone.c

index 7ef570c3d135fa53aea6573d1ea012e42347796c..928183348ee1d65b41796f0baa4755c83c8c641d 100644 (file)
@@ -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));