From 23bf6e20ece391bcdcf85dcbbaef40f312e5971d Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Fri, 9 Jul 1999 20:45:58 +0000 Subject: [PATCH] shut up the compiler --- bin/tests/dispatch_test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/tests/dispatch_test.c b/bin/tests/dispatch_test.c index bb95fa4982..b01ade020f 100644 --- a/bin/tests/dispatch_test.c +++ b/bin/tests/dispatch_test.c @@ -82,6 +82,8 @@ send_done(isc_task_t *task, isc_event_t *ev_in) isc_socketevent_t *ev = (isc_socketevent_t *)ev_in; dns_dispentry_t *resp = (dns_dispentry_t *)ev_in->arg; + (void)task; + if (ev->result == ISC_R_SUCCESS) { printf("Send done (SUCCESS)\n"); isc_event_free(&ev_in); @@ -204,6 +206,8 @@ got_response(isc_task_t *task, isc_event_t *ev_in) dns_message_t *msg; isc_result_t result; + (void)task; + printf("App: Got response (id %d). Result: %s\n", ev->id, isc_result_totext(ev->result));