From aef7d54ae73836dc1e67b77e434d7ab0e76875b7 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Sat, 13 May 2000 19:44:53 +0000 Subject: [PATCH] Silence IRIX warning: "confctl.c", line 177: remark(1552): variable "rval" was set but never used --- lib/dns/config/confctl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/dns/config/confctl.c b/lib/dns/config/confctl.c index 81a8bf666d..8d66cd0f53 100644 --- a/lib/dns/config/confctl.c +++ b/lib/dns/config/confctl.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: confctl.c,v 1.19 2000/05/08 14:35:24 tale Exp $ */ +/* $Id: confctl.c,v 1.20 2000/05/13 19:44:53 tale Exp $ */ #include @@ -174,7 +174,6 @@ dns_c_ctrlunix_new(isc_mem_t *mem, dns_c_ctrl_t **control, isc_result_t dns_c_ctrl_delete(dns_c_ctrl_t **control) { isc_result_t res = ISC_R_SUCCESS; - isc_result_t rval; isc_mem_t *mem; dns_c_ctrl_t *ctrl; @@ -202,8 +201,6 @@ dns_c_ctrl_delete(dns_c_ctrl_t **control) { break; } - rval = res; - ctrl->magic = 0; isc_mem_put(mem, ctrl, sizeof *ctrl);