From fbf6fa0e626112a71940d97a071aa7b45e20a9a4 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 28 Oct 2011 12:27:06 +0000 Subject: [PATCH] initialise result --- lib/dns/zone.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 413d6bc2f7..eca693cdd0 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zone.c,v 1.642 2011/10/28 06:20:06 each Exp $ */ +/* $Id: zone.c,v 1.643 2011/10/28 12:27:06 marka Exp $ */ /*! \file */ @@ -15715,7 +15715,7 @@ dns_zone_setnsec3param(dns_zone_t *zone, isc_uint8_t hash, isc_uint8_t flags, isc_uint8_t iter, isc_uint8_t saltlen, unsigned char *salt, isc_boolean_t replace) { - isc_result_t result; + isc_result_t result = ISC_R_SUCCESS; dns_rdata_nsec3param_t param; dns_rdata_t nrdata = DNS_RDATA_INIT; dns_rdata_t prdata = DNS_RDATA_INIT;