Commit 5999f1eb authored by Evan Hunt's avatar Evan Hunt

[master] initialize result and rdataset variables

parent b4eb8b96
......@@ -7942,9 +7942,12 @@ query_coveringnsec(query_ctx_t *qctx) {
isc_boolean_t exists = ISC_TRUE, data = ISC_TRUE;
isc_boolean_t redirected = ISC_FALSE;
isc_buffer_t *dbuf = NULL, b;
isc_result_t result;
isc_result_t result = ISC_R_SUCCESS;
unsigned int dboptions = qctx->client->query.dboptions;
dns_rdataset_init(&rdataset);
dns_rdataset_init(&sigrdataset);
/*
* If we have no signer name, stop immediately.
*/
......@@ -7961,9 +7964,6 @@ query_coveringnsec(query_ctx_t *qctx) {
dns_fixedname_init(&fnowild);
nowild = dns_fixedname_name(&fnowild);
dns_rdataset_init(&rdataset);
dns_rdataset_init(&sigrdataset);
dns_clientinfomethods_init(&cm, ns_client_sourceip);
dns_clientinfo_init(&ci, qctx->client, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment