]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
added UNUSED() macros for arguments that end up unused when assertion checking
authorAndreas Gustafsson <source@isc.org>
Fri, 1 Dec 2000 21:32:02 +0000 (21:32 +0000)
committerAndreas Gustafsson <source@isc.org>
Fri, 1 Dec 2000 21:32:02 +0000 (21:32 +0000)
is turned off

bin/rndc/rndc.c

index 270901779b091466c90253cb44b222e9e22b06d1..c4e19c581d9b432199413c3cf976b1dd1ce228e0 100644 (file)
@@ -15,7 +15,7 @@
  * 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
@@ -240,10 +240,12 @@ ndc_setvalue(omapi_object_t *handle, omapi_string_t *name,
        isc_result_t result;
        char *message;
 */
-       UNUSED(value);
-       
+
        INSIST(handle == (omapi_object_t *)&ndc_g_ndc);
-       
+
+       UNUSED(value);
+       UNUSED(handle);
+
        omapi_string_totext(name, &region);
        notify("ndc_setvalue: %.*s\n", REGION_FMT(&region));