2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Simplify dns_name_init()

Remove the now-unused offsets parameter from dns_name_init().
This commit is contained in:
Ondřej Surý
2025-02-21 12:09:39 +01:00
parent 08e966df82
commit 04c2c2cbc8
95 changed files with 531 additions and 544 deletions

View File

@@ -71,7 +71,7 @@ dns_difftuple_create(isc_mem_t *mctx, dns_diffop_t op, const dns_name_t *name,
datap = (unsigned char *)(t + 1);
memmove(datap, name->ndata, name->length);
dns_name_init(&t->name, NULL);
dns_name_init(&t->name);
dns_name_clone(name, &t->name);
t->name.ndata = datap;
datap += name->length;