mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
Silence IRIX warning:
"confctl.c", line 177: remark(1552): variable "rval" was set but never used
This commit is contained in:
parent
48a7c6ab28
commit
aef7d54ae7
@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* 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>
|
#include <config.h>
|
||||||
|
|
||||||
@ -174,7 +174,6 @@ dns_c_ctrlunix_new(isc_mem_t *mem, dns_c_ctrl_t **control,
|
|||||||
isc_result_t
|
isc_result_t
|
||||||
dns_c_ctrl_delete(dns_c_ctrl_t **control) {
|
dns_c_ctrl_delete(dns_c_ctrl_t **control) {
|
||||||
isc_result_t res = ISC_R_SUCCESS;
|
isc_result_t res = ISC_R_SUCCESS;
|
||||||
isc_result_t rval;
|
|
||||||
isc_mem_t *mem;
|
isc_mem_t *mem;
|
||||||
dns_c_ctrl_t *ctrl;
|
dns_c_ctrl_t *ctrl;
|
||||||
|
|
||||||
@ -202,8 +201,6 @@ dns_c_ctrl_delete(dns_c_ctrl_t **control) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
rval = res;
|
|
||||||
|
|
||||||
ctrl->magic = 0;
|
ctrl->magic = 0;
|
||||||
|
|
||||||
isc_mem_put(mem, ctrl, sizeof *ctrl);
|
isc_mem_put(mem, ctrl, sizeof *ctrl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user