From 375df38a4a8458ca679fa24f892cd4bf9b42fea8 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 30 Oct 2018 11:51:38 +1100 Subject: [PATCH] move declaration of pending (cherry picked from commit bc53e5e5d487b6be5a5cfd9d510b942381a45fe6) --- lib/dns/zt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dns/zt.c b/lib/dns/zt.c index c84da2fd01..38e1f6d7b7 100644 --- a/lib/dns/zt.c +++ b/lib/dns/zt.c @@ -285,10 +285,11 @@ dns_zt_asyncload2(dns_zt_t *zt, dns_zt_allloaded_t alldone, void *arg, { isc_result_t result; struct zt_load_params params; + int pending; + params.dl = doneloading; params.newonly = newonly; params.zt = zt; - int pending; REQUIRE(VALID_ZT(zt));