mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 18:19:42 +00:00
Clean up some unused variables...
This commit is contained in:
parent
b1d234eb75
commit
6afdb1e5e4
@ -236,13 +236,12 @@ static isc_result_t
|
||||
short_answer(dns_message_t *msg, dns_messagetextflag_t flags,
|
||||
isc_buffer_t *buf, dig_query_t *query)
|
||||
{
|
||||
dns_name_t *name, *print_name;
|
||||
dns_name_t *name;
|
||||
dns_rdataset_t *rdataset;
|
||||
isc_buffer_t target;
|
||||
isc_result_t result, loopresult;
|
||||
dns_name_t empty_name;
|
||||
char t[4096];
|
||||
isc_boolean_t first;
|
||||
dns_rdata_t rdata;
|
||||
|
||||
UNUSED (flags);
|
||||
@ -259,8 +258,6 @@ short_answer(dns_message_t *msg, dns_messagetextflag_t flags,
|
||||
dns_message_currentname(msg, DNS_SECTION_ANSWER, &name);
|
||||
|
||||
isc_buffer_init(&target, t, sizeof(t));
|
||||
first = ISC_TRUE;
|
||||
print_name = name;
|
||||
|
||||
for (rdataset = ISC_LIST_HEAD(name->list);
|
||||
rdataset != NULL;
|
||||
|
@ -1106,11 +1106,6 @@ connect_timeout(isc_task_t *task, isc_event_t *event) {
|
||||
}
|
||||
isc_socket_cancel(q->sock, task,
|
||||
ISC_SOCKCANCEL_ALL);
|
||||
#ifdef 0
|
||||
isc_socket_detach(&q->sock);
|
||||
sockcount--;
|
||||
debug ("Socket = %d",sockcount);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
ENSURE(lookup->timer != NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user