]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
suppress clang static analysis warning
authorMark Andrews <marka@isc.org>
Sun, 11 May 2014 00:47:56 +0000 (10:47 +1000)
committerMark Andrews <marka@isc.org>
Sun, 11 May 2014 00:47:56 +0000 (10:47 +1000)
lib/dns/zone.c

index 4152b40511bb6e53b595ddabd2198d9ab6df0a6d..35089308537640088ec6bb4b4604aa595ee93541 100644 (file)
@@ -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);
+               }
        }
 
        /*