]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
initialise fp
authorMark Andrews <marka@isc.org>
Thu, 22 Jan 2015 01:12:34 +0000 (12:12 +1100)
committerMark Andrews <marka@isc.org>
Thu, 22 Jan 2015 01:14:45 +0000 (12:14 +1100)
bin/named/server.c

index 734cebeadb643dedf801a47a59385391b56de269..6064b28d79bb63b1838b7a9ada936abe3f4eb168 100644 (file)
@@ -9193,7 +9193,7 @@ do_addzone(ns_server_t *server, ns_cfgctx_t *cfg, dns_view_t *view,
 {
        isc_result_t result, tresult;
        dns_zone_t *zone = NULL;
-       FILE *fp;
+       FILE *fp = NULL;
 
        /* Zone shouldn't already exist */
        result = dns_zt_find(view->zonetable, name, 0, NULL, &zone);