move declaration of pending

(cherry picked from commit bc53e5e5d4)
This commit is contained in:
Mark Andrews 2018-10-30 11:51:38 +11:00
parent e93e971fea
commit 375df38a4a

View file

@ -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));