mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 03:52:56 -04:00
Remove the unused link from 'struct rss'
The link is declared but never used. Remove it.
This commit is contained in:
parent
5118f3bad6
commit
fad2c5b757
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue