From 371fd91f919ad03578e198d1fbb0a54eca0a0a76 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 5 Mar 2001 11:49:15 +0000 Subject: [PATCH] initialize ztype in ns_config_getzonetype() to silence warning --- bin/named/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/named/config.c b/bin/named/config.c index e216629f1f..77eaa84af3 100644 --- a/bin/named/config.c +++ b/bin/named/config.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: config.c,v 1.2 2001/03/04 22:28:32 bwelling Exp $ */ +/* $Id: config.c,v 1.3 2001/03/05 11:49:15 tale Exp $ */ #include @@ -189,7 +189,7 @@ ns_config_getclass(cfg_obj_t *classobj, dns_rdataclass_t *classp) { isc_result_t ns_config_getzonetype(cfg_obj_t *zonetypeobj) { - dns_zonetype_t ztype; + dns_zonetype_t ztype = dns_zone_none; char *str; str = cfg_obj_asstring(zonetypeobj);