mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 15:29:59 -04:00
added UNUSED() macros for arguments that end up unused when assertion checking
is turned off
This commit is contained in:
parent
6e8d5fd217
commit
94d61e2f76
1 changed files with 3 additions and 1 deletions
|
|
@ -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 <config.h>
|
||||
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue