]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove unnecessary assignment to found_ttl
authorMark Andrews <marka@isc.org>
Fri, 26 Aug 2011 05:29:48 +0000 (05:29 +0000)
committerMark Andrews <marka@isc.org>
Fri, 26 Aug 2011 05:29:48 +0000 (05:29 +0000)
lib/dns/dnssec.c

index 949c397c7bfa42572af0f85d8cf45e4a33913396..8bd3c2af5f0f33e3109f1cc831a1664f8be971d0 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: dnssec.c,v 1.124 2011/05/06 21:08:33 each Exp $
+ * $Id: dnssec.c,v 1.125 2011/08/26 05:29:48 marka Exp $
  */
 
 /*! \file */
@@ -1705,10 +1705,8 @@ dns_dnssec_updatekeys(dns_dnsseckeylist_t *keys, dns_dnsseckeylist_t *newkeys,
                                shortest = thisttl;
                }
 
-               if (shortest != 0) {
-                       found_ttl = ISC_TRUE;
+               if (shortest != 0)
                        ttl = shortest;
-               }
        }
 
        /*