2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

Remove unused DNS_RDATASET_ORDER

Related: #4666
This commit is contained in:
Petr Špaček 2025-07-10 09:45:08 +02:00
parent ae600b0a95
commit ba861f23f2
2 changed files with 2 additions and 3 deletions

View File

@ -60,7 +60,6 @@
#define DNS_RDATASET_LENGTH 2;
#define DNS_RDATASET_ORDER 0
#define DNS_RDATASET_COUNT 0
typedef enum {

View File

@ -1136,7 +1136,7 @@ setnsec3parameters(dns_db_t *db, qpz_version_t *version) {
raw += DNS_RDATASET_COUNT + DNS_RDATASET_LENGTH;
while (count-- > 0U) {
length = raw[0] * 256 + raw[1];
raw += DNS_RDATASET_ORDER + DNS_RDATASET_LENGTH;
raw += DNS_RDATASET_LENGTH;
region.base = raw;
region.length = length;
raw += length;
@ -2639,7 +2639,7 @@ matchparams(dns_slabheader_t *header, qpz_search_t *search) {
while (count-- > 0) {
rdlen = raw[0] * 256 + raw[1];
raw += DNS_RDATASET_ORDER + DNS_RDATASET_LENGTH;
raw += DNS_RDATASET_LENGTH;
region.base = raw;
region.length = rdlen;
dns_rdata_fromregion(&rdata, search->qpdb->common.rdclass,