From 049a49c2956dd9cc9b82974e2bbe77c57fcc73db Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 18 May 2016 12:39:50 +1000 Subject: [PATCH] 4367. [bug] Remove unnecessary assignment of loadtime in zone_touched. [RT #42440] --- CHANGES | 3 +++ lib/dns/zone.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 846053f999..7b62f7a306 100644 --- 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] diff --git a/lib/dns/zone.c b/lib/dns/zone.c index cd5599802d..b09df67e62 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -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;