2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

zonetype "ztype" was set but not used in configure_zone; removed

This commit is contained in:
David Lawrence
2001-04-12 21:07:39 +00:00
parent 6f053cd485
commit 8ed664e5a6

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.316 2001/04/11 20:37:34 bwelling Exp $ */
/* $Id: server.c,v 1.317 2001/04/12 21:07:39 tale Exp $ */
#include <config.h>
@@ -1191,7 +1191,6 @@ configure_zone(cfg_obj_t *config, cfg_obj_t *zconfig, cfg_obj_t *vconfig,
const char *zname;
dns_rdataclass_t zclass;
const char *ztypestr;
dns_zonetype_t ztype;
options = NULL;
(void)cfg_map_get(config, "options", &options);
@@ -1276,8 +1275,6 @@ configure_zone(cfg_obj_t *config, cfg_obj_t *zconfig, cfg_obj_t *vconfig,
goto cleanup;
}
ztype = ns_config_getzonetype(typeobj);
/*
* Check for duplicates in the new zone table.
*/