From: James Turner Date: Tue, 25 Jun 2013 20:53:19 +0000 (+0100) Subject: Kill off timestamp warning for the NavCache X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=36896733d791e99811a25bfaa646a72ce16f0ce0;p=flightgear.git Kill off timestamp warning for the NavCache This check is no longer needed, and causes console output when using the joystick config editing GUI, which worries users. http://code.google.com/p/flightgear-bugs/issues/detail?id=969 --- diff --git a/src/Navaids/NavDataCache.cxx b/src/Navaids/NavDataCache.cxx index db6c3b6ca..f7c589bf0 100644 --- a/src/Navaids/NavDataCache.cxx +++ b/src/Navaids/NavDataCache.cxx @@ -1390,13 +1390,6 @@ bool NavDataCache::isCachedFileModified(const SGPath& path) const if (delta != 0) { SG_LOG(SG_NAVCACHE, SG_DEBUG, "NavCache: rebuild required for " << path << ". Timestamps: " << modtime << " != " << path.modTime()); - if (delta < 30) - { - // File system time stamp has slightly changed. It's unlikely that the user has managed to change a file, start fgfs, - // and then changed file again within x seconds - so it's suspicious... - SG_LOG(SG_NAVCACHE, SG_ALERT, "NavCache: suspicious file timestamp change. Please report this to FlightGear. " - << "Delta: " << delta << ", Timestamps: " << modtime << ", " << path.modTime() << ", path: " << path); - } } else {