]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
suppress compiler warnings
authorAndreas Gustafsson <source@isc.org>
Sat, 27 Jan 2001 02:11:35 +0000 (02:11 +0000)
committerAndreas Gustafsson <source@isc.org>
Sat, 27 Jan 2001 02:11:35 +0000 (02:11 +0000)
lib/dns/config/confzone.c

index 191e60e9c8510ff4c3a3e5e4aa94e631f9431a86..7b9af254528c52a48fb3b7f361aa77a3178bd8a9 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confzone.c,v 1.76 2001/01/25 02:33:47 bwelling Exp $ */
+/* $Id: confzone.c,v 1.77 2001/01/27 02:11:35 gson Exp $ */
 
 #include <config.h>
 
@@ -2541,7 +2541,7 @@ dns_c_zone_getmasterport(dns_c_zone_t *zone, in_port_t *retval) {
 
 isc_result_t
 dns_c_zone_setmasterips(dns_c_zone_t *zone, dns_c_iplist_t *newval) {
-       dns_c_iplist_t **p;
+       dns_c_iplist_t **p = NULL;
 
        REQUIRE(DNS_C_ZONE_VALID(zone));
        REQUIRE(DNS_C_IPLIST_VALID(newval));
@@ -2589,7 +2589,7 @@ dns_c_zone_setmasterips(dns_c_zone_t *zone, dns_c_iplist_t *newval) {
 
 isc_result_t
 dns_c_zone_getmasterips(dns_c_zone_t *zone, dns_c_iplist_t **retval) {
-       dns_c_iplist_t *p;
+       dns_c_iplist_t *p = NULL;
        isc_result_t res = ISC_R_SUCCESS;
 
        REQUIRE(DNS_C_ZONE_VALID(zone));