From: Mark Andrews Date: Sun, 11 May 2014 00:47:56 +0000 (+1000) Subject: suppress clang static analysis warning X-Git-Tag: v9.11.0a1~1653 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=e188b84bc4a5f71fb7e220990385a62d9e23d726;p=thirdparty%2Fbind9.git suppress clang static analysis warning --- diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 4152b40511b..35089308537 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -9014,8 +9014,10 @@ keyfetch_done(isc_task_t *task, isc_event_t *event) { trust_key(zone, keyname, &dnskey, mctx); } - if (!deletekey) + if (!deletekey) { + INSIST(newkey || updatekey); set_refreshkeytimer(zone, &keydata, now); + } } /*