2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Silence IRIX warning:

"confctl.c", line 177: remark(1552): variable "rval" was set but never used
This commit is contained in:
David Lawrence 2000-05-13 19:44:53 +00:00
parent 48a7c6ab28
commit aef7d54ae7

View File

@ -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 <config.h>
@ -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);