]> 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:48:23 +0000 (10:48 +1000)
(cherry picked from commit e188b84bc4a5f71fb7e220990385a62d9e23d726)

lib/dns/zone.c

index 98fb0c9ea52e261fe58c4bb5b55bce0c124db4f5..1aeaf1efcd3520bdf9a29f02c3d6b7c1e8581dd2 100644 (file)
@@ -8997,8 +8997,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);
+               }
        }
 
        /*