]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
simplify expression
authorMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 02:11:25 +0000 (13:11 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 03:08:26 +0000 (14:08 +1100)
lib/dns/update.c

index b6d794b23f79bc92cfceefad4bcc71ca95945031..08a6575d1999718aa62f3a85528cc771f94125e9 100644 (file)
@@ -1389,7 +1389,7 @@ dns_update_signaturesinc(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db,
        unsigned int sigs = 0;
        unsigned int maxsigs = dns_zone_getsignatures(zone);
 
-       if (statep == NULL || (statep != NULL && *statep == NULL)) {
+       if (statep == NULL || *statep == NULL) {
                if (statep == NULL) {
                        state = &mystate;
                } else {