]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove the unused link from 'struct rss'
authorAram Sargsyan <aram@isc.org>
Fri, 3 Apr 2026 15:57:26 +0000 (15:57 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Mon, 22 Jun 2026 20:51:53 +0000 (20:51 +0000)
The link is declared but never used. Remove it.

lib/dns/zone.c

index 3655661d0610fd03daea2a26d112b7013ad7d505..5b1ff55af4ed82f1f5ddc672c011c912f512c7ad 100644 (file)
@@ -13799,7 +13799,6 @@ struct rss {
        dns_zone_t *zone;
        dns_db_t *db;
        uint32_t serial;
-       ISC_LINK(struct rss) link;
 };
 
 static void
@@ -14648,7 +14647,6 @@ zone_send_secureserial(dns_zone_t *zone, uint32_t serial) {
                rss = isc_mem_get(zone->secure->mctx, sizeof(*rss));
                *rss = (struct rss){
                        .serial = serial,
-                       .link = ISC_LINK_INITIALIZER,
                };
                zone_iattach(zone->secure, &rss->zone);
 
@@ -15080,7 +15078,7 @@ zone_send_securedb(dns_zone_t *zone, dns_db_t *db) {
        struct rss *rss = NULL;
 
        rss = isc_mem_get(zone->secure->mctx, sizeof(*rss));
-       *rss = (struct rss){ .link = ISC_LINK_INITIALIZER };
+       *rss = (struct rss){ 0 };
 
        INSIST(LOCKED_ZONE(zone->secure));
        zone_iattach(zone->secure, &rss->zone);