mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 00:25:29 +00:00
added UNUSED() macros for arguments that end up unused when assertion checking
is turned off
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: rndc.c,v 1.34 2000/11/30 21:33:21 gson Exp $ */
|
/* $Id: rndc.c,v 1.35 2000/12/01 21:32:02 gson Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Principal Author: DCL
|
* Principal Author: DCL
|
||||||
@@ -240,10 +240,12 @@ ndc_setvalue(omapi_object_t *handle, omapi_string_t *name,
|
|||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
char *message;
|
char *message;
|
||||||
*/
|
*/
|
||||||
UNUSED(value);
|
|
||||||
|
|
||||||
INSIST(handle == (omapi_object_t *)&ndc_g_ndc);
|
INSIST(handle == (omapi_object_t *)&ndc_g_ndc);
|
||||||
|
|
||||||
|
UNUSED(value);
|
||||||
|
UNUSED(handle);
|
||||||
|
|
||||||
omapi_string_totext(name, ®ion);
|
omapi_string_totext(name, ®ion);
|
||||||
notify("ndc_setvalue: %.*s\n", REGION_FMT(®ion));
|
notify("ndc_setvalue: %.*s\n", REGION_FMT(®ion));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user