]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4367. [bug] Remove unnecessary assignment of loadtime in
authorMark Andrews <marka@isc.org>
Wed, 18 May 2016 02:39:50 +0000 (12:39 +1000)
committerMark Andrews <marka@isc.org>
Wed, 18 May 2016 02:39:50 +0000 (12:39 +1000)
                        zone_touched. [RT #42440]

CHANGES
lib/dns/zone.c

diff --git a/CHANGES b/CHANGES
index 846053f999bfc09a612575f178fc8228b2216303..7b62f7a306244796e894eabad10f9f844b7c5cfd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
        --- 9.11.0a1 released ---
 
+4367.  [bug]           Remove unnecessary assignment of loadtime in
+                       zone_touched. [RT #42440]
+
 4366.  [bug]           Address race condition when updating rbtnode bit
                        fields. [RT #42379]
 
index cd5599802db34df9c5429b2ecb37596dfd453401..b09df67e62b98eaadb9f56914ef6d7be66f5bc35 100644 (file)
@@ -1759,10 +1759,7 @@ zone_touched(dns_zone_t *zone) {
        result = isc_file_getmodtime(zone->masterfile, &modtime);
        if (result != ISC_R_SUCCESS ||
            isc_time_compare(&modtime, &zone->loadtime) > 0)
-       {
-               zone->loadtime = modtime;
                return (ISC_TRUE);
-       }
 
        for (include = ISC_LIST_HEAD(zone->includes);
             include != NULL;