mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 21:17:54 +00:00
silence clang compiler warnings
This commit is contained in:
parent
5aae99fb1b
commit
c1f26bd63c
@ -4837,6 +4837,21 @@ zone_get_from_db(dns_zone_t *zone, dns_db_t *db, unsigned int *nscount,
|
||||
|
||||
dns_db_currentversion(db, &version);
|
||||
|
||||
if (nscount != NULL)
|
||||
*nscount = 0;
|
||||
if (soacount != NULL)
|
||||
*soacount = 0;
|
||||
if (serial != NULL)
|
||||
*serial = 0;
|
||||
if (refresh != NULL)
|
||||
*refresh = 0;
|
||||
if (retry != NULL)
|
||||
*retry = 0;
|
||||
if (expire != NULL)
|
||||
*expire = 0;
|
||||
if (errors != NULL)
|
||||
*errors = 0;
|
||||
|
||||
node = NULL;
|
||||
result = dns_db_findnode(db, &zone->origin, ISC_FALSE, &node);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
@ -14014,7 +14029,6 @@ zone_replacedb(dns_zone_t *zone, dns_db_t *db, isc_boolean_t dump) {
|
||||
!DNS_ZONE_FLAG(zone, DNS_ZONEFLG_FORCEXFER))
|
||||
{
|
||||
isc_uint32_t serial, oldserial;
|
||||
unsigned int soacount;
|
||||
|
||||
dns_zone_log(zone, ISC_LOG_DEBUG(3), "generating diffs");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user