Commit 371fd91f authored by David Lawrence's avatar David Lawrence

initialize ztype in ns_config_getzonetype() to silence warning

parent 74e8f55f
......@@ -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 <config.h>
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment