From 94d61e2f763fae4e4c6dafe7b53328b3b8b38fbc Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Fri, 1 Dec 2000 00:55:16 +0000 Subject: [PATCH] added UNUSED() macros for arguments that end up unused when assertion checking is turned off --- lib/dns/master.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dns/master.c b/lib/dns/master.c index 15a7650258..54517f77cc 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: master.c,v 1.83 2000/11/27 19:15:39 gson Exp $ */ +/* $Id: master.c,v 1.84 2000/12/01 00:55:16 gson Exp $ */ #include @@ -1578,6 +1578,8 @@ loadmgr_start(isc_task_t *task, isc_event_t *event) { INSIST(task == ctx->task); + UNUSED(task); + if ((event->ev_attributes & ISC_EVENTATTR_CANCELED) != 0) { result = ISC_R_CANCELED; goto done;