From a25aa889e1cc8bebfe942c9bd308f5ccc1daf54c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 21 May 2019 11:41:38 +0000 Subject: [PATCH] Fix uninitialized variable warning in restore_nsec3param() --- lib/dns/zone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 3181efeb79..bcde252dec 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15108,7 +15108,7 @@ static isc_result_t restore_nsec3param(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *version, nsec3paramlist_t *nsec3list) { - isc_result_t result; + isc_result_t result = ISC_R_SUCCESS; dns_diff_t diff; dns_rdata_t rdata; nsec3param_t *nsec3p = NULL;