From 34e52a882a3c4339faebca2fe78781d5fae970a2 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Sat, 13 May 2000 19:45:13 +0000 Subject: [PATCH] Silence IRIX warning: "confndc.c", line 1149: remark(1552): variable "mem" was set but never used --- lib/dns/config/confndc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/dns/config/confndc.c b/lib/dns/config/confndc.c index 9e81e4d9cb..a966ff6880 100644 --- a/lib/dns/config/confndc.c +++ b/lib/dns/config/confndc.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: confndc.c,v 1.13 2000/05/08 14:35:31 tale Exp $ */ +/* $Id: confndc.c,v 1.14 2000/05/13 19:45:13 tale Exp $ */ /* ** options { @@ -1146,7 +1146,6 @@ parse_keystmt(ndcpcontext *pctx, dns_c_kdeflist_t *keys) { isc_result_t result = ISC_R_FAILURE; dns_c_ndcctx_t *ctx = pctx->thecontext; dns_c_kdef_t *key = NULL; - isc_mem_t *mem; char *keyname = NULL; char *algorithm = NULL; char *secret = NULL; @@ -1154,8 +1153,6 @@ parse_keystmt(ndcpcontext *pctx, dns_c_kdeflist_t *keys) { REQUIRE(DNS_C_NDCCTX_VALID(ctx)); REQUIRE(DNS_C_KDEFLIST_VALID(keys)); - mem = ctx->mem; - if (!eat(pctx, L_KEY)) return (ISC_R_FAILURE);