mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
UNUSED() macro added in 1.79 was in the wrong place
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: task.c,v 1.80 2001/01/09 21:56:33 bwelling Exp $ */
|
/* $Id: task.c,v 1.81 2001/02/07 20:05:15 gson Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Principal Author: Bob Halley
|
* Principal Author: Bob Halley
|
||||||
@@ -1013,14 +1013,13 @@ isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers,
|
|||||||
#ifndef ISC_PLATFORM_USETHREADS
|
#ifndef ISC_PLATFORM_USETHREADS
|
||||||
UNUSED(i);
|
UNUSED(i);
|
||||||
UNUSED(started);
|
UNUSED(started);
|
||||||
|
UNUSED(workers);
|
||||||
|
|
||||||
if (taskmgr != NULL) {
|
if (taskmgr != NULL) {
|
||||||
taskmgr->refs++;
|
taskmgr->refs++;
|
||||||
*managerp = taskmgr;
|
*managerp = taskmgr;
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
UNUSED(workers);
|
|
||||||
#endif /* ISC_PLATFORM_USETHREADS */
|
#endif /* ISC_PLATFORM_USETHREADS */
|
||||||
|
|
||||||
manager = isc_mem_get(mctx, sizeof *manager);
|
manager = isc_mem_get(mctx, sizeof *manager);
|
||||||
|
Reference in New Issue
Block a user