From ffbd79e978dffac9e92764d586d3bdd6029ca710 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Mon, 10 Mar 2014 20:54:45 -0700 Subject: [PATCH] [master] fix possible uninitialized variable --- lib/dns/master.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dns/master.c b/lib/dns/master.c index 8e8b5c61f6..4b75843dea 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -800,13 +800,12 @@ generate(dns_loadctx_t *lctx, char *range, char *lhs, char *gtype, char *rhs, dns_rdatalist_t rdatalist; dns_rdatatype_t type; rdatalist_head_t head; - int n; int target_size = MINTSIZ; /* only one rdata at a time */ isc_buffer_t buffer; isc_buffer_t target; isc_result_t result; isc_textregion_t r; - int start, stop, step, i; + int i, n, start, stop, step = 0; dns_incctx_t *ictx; ictx = lctx->inc;