mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Clean up dns_zonemgr_unreachabledel()
The results of isc_sockaddr_format() calls are not used, remove them and the local variables.
This commit is contained in:
@@ -19584,11 +19584,6 @@ void
|
|||||||
dns_zonemgr_unreachabledel(dns_zonemgr_t *zmgr, isc_sockaddr_t *remote,
|
dns_zonemgr_unreachabledel(dns_zonemgr_t *zmgr, isc_sockaddr_t *remote,
|
||||||
isc_sockaddr_t *local) {
|
isc_sockaddr_t *local) {
|
||||||
unsigned int i;
|
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));
|
REQUIRE(DNS_ZONEMGR_VALID(zmgr));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user