mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 09:06:51 -04:00
conditional UNUSED(task)
This commit is contained in:
parent
1a63fb1d14
commit
22e0fcb055
1 changed files with 4 additions and 0 deletions
|
|
@ -177,6 +177,10 @@ ns_interfacemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
|
|||
isc_result_t result;
|
||||
ns_interfacemgr_t *mgr;
|
||||
|
||||
#ifndef USE_ROUTE_SOCKET
|
||||
UNUSED(task);
|
||||
#endif
|
||||
|
||||
REQUIRE(mctx != NULL);
|
||||
REQUIRE(mgrp != NULL);
|
||||
REQUIRE(*mgrp == NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue