2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 16:15:27 +00:00

Remove unused variable 'nxglue' from query_addadditional().

This commit is contained in:
Bob Halley
1999-10-21 18:08:43 +00:00
parent 9acbfdb6a2
commit 64a840af49

View File

@@ -583,7 +583,7 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t type) {
isc_buffer_t b; isc_buffer_t b;
dns_dbversion_t *version, *zversion; dns_dbversion_t *version, *zversion;
unsigned int dboptions; unsigned int dboptions;
isc_boolean_t is_zone, nxglue, added_something, need_addname; isc_boolean_t is_zone, added_something, need_addname;
dns_zone_t *zone; dns_zone_t *zone;
REQUIRE(NS_CLIENT_VALID(client)); REQUIRE(NS_CLIENT_VALID(client));
@@ -607,7 +607,6 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t type) {
zversion = NULL; zversion = NULL;
node = NULL; node = NULL;
znode = NULL; znode = NULL;
nxglue = ISC_FALSE;
added_something = ISC_FALSE; added_something = ISC_FALSE;
need_addname = ISC_FALSE; need_addname = ISC_FALSE;
zone = NULL; zone = NULL;
@@ -708,12 +707,6 @@ query_addadditional(void *arg, dns_name_t *name, dns_rdatatype_t type) {
} }
} }
} else if (result == DNS_R_GLUE || result == DNS_R_NXGLUE) { } else if (result == DNS_R_GLUE || result == DNS_R_NXGLUE) {
if (result == DNS_R_NXGLUE) {
/*
* XXXRTH Explain NXGLUE here.
*/
nxglue = ISC_TRUE;
}
if (USECACHE(client)) { if (USECACHE(client)) {
/* /*
* We found an answer, but the cache may be * We found an answer, but the cache may be