]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
eliminated compiler warning v9.1.3rc3
authorAndreas Gustafsson <source@isc.org>
Thu, 28 Jun 2001 00:44:45 +0000 (00:44 +0000)
committerAndreas Gustafsson <source@isc.org>
Thu, 28 Jun 2001 00:44:45 +0000 (00:44 +0000)
lib/dns/config/confndc.c
lib/isc/rwlock.c
lib/isc/task.c

index 2abf6fa00c2efe2c47ae50f82c4f13b8d9494ba6..e566ca363386ddcf50a7a3ebce306727eca57574 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confndc.c,v 1.25.4.2 2001/01/22 20:12:32 bwelling Exp $ */
+/* $Id: confndc.c,v 1.25.4.3 2001/06/28 00:44:45 gson Exp $ */
 
 /*
 **     options {
@@ -1148,6 +1148,7 @@ parse_keystmt(ndcpcontext *pctx, dns_c_kdeflist_t *keys) {
 
        REQUIRE(DNS_C_NDCCTX_VALID(ctx));
        REQUIRE(DNS_C_KDEFLIST_VALID(keys));
+       UNUSED(ctx);
 
        if (!eat(pctx, L_KEY))
                return (ISC_R_FAILURE);
index 71b07a3f46b517b1b6bc8b78e4caf1da68900e91..3b40fc67e64708747e673f3c9a2efb137d5d4e73 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rwlock.c,v 1.26.4.1 2001/01/09 22:49:18 bwelling Exp $ */
+/* $Id: rwlock.c,v 1.26.4.2 2001/06/28 00:42:53 gson Exp $ */
 
 #include <config.h>
 
@@ -301,6 +301,8 @@ isc_rwlock_unlock(isc_rwlock_t *rwl, isc_rwlocktype_t type) {
        REQUIRE(VALID_RWLOCK(rwl));
        REQUIRE(rwl->type == type);
 
+       UNUSED(type);
+
        INSIST(rwl->active > 0);
        rwl->active--;
 
index eb6e87bd446b940a17c668deffa71aa147479fda..26b84329936d97c69f010f925663b03e4723df32 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: task.c,v 1.78.2.2 2001/02/07 22:36:20 gson Exp $ */
+/* $Id: task.c,v 1.78.2.3 2001/06/28 00:44:10 gson Exp $ */
 
 /*
  * Principal Author: Bob Halley
@@ -1011,6 +1011,7 @@ isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers,
        REQUIRE(managerp != NULL && *managerp == NULL);
 
 #ifndef ISC_PLATFORM_USETHREADS
+       UNUSED(workers);
        UNUSED(i);
        UNUSED(started);