diff options
Diffstat (limited to 'src/resolve/resolved-dns-zone.c')
-rw-r--r-- | src/resolve/resolved-dns-zone.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/resolve/resolved-dns-zone.c b/src/resolve/resolved-dns-zone.c index 33879d6142..f8e1491f8b 100644 --- a/src/resolve/resolved-dns-zone.c +++ b/src/resolve/resolved-dns-zone.c @@ -630,11 +630,10 @@ int dns_zone_verify_conflicts(DnsZone *zone, DnsResourceKey *key) { void dns_zone_verify_all(DnsZone *zone) { DnsZoneItem *i; - Iterator iterator; assert(zone); - HASHMAP_FOREACH(i, zone->by_key, iterator) { + HASHMAP_FOREACH(i, zone->by_key) { DnsZoneItem *j; LIST_FOREACH(by_key, j, i) @@ -643,7 +642,6 @@ void dns_zone_verify_all(DnsZone *zone) { } void dns_zone_dump(DnsZone *zone, FILE *f) { - Iterator iterator; DnsZoneItem *i; if (!zone) @@ -652,7 +650,7 @@ void dns_zone_dump(DnsZone *zone, FILE *f) { if (!f) f = stdout; - HASHMAP_FOREACH(i, zone->by_key, iterator) { + HASHMAP_FOREACH(i, zone->by_key) { DnsZoneItem *j; LIST_FOREACH(by_key, j, i) { |