]> git.mxchange.org Git - flightgear.git/commitdiff
Kill off timestamp warning for the NavCache
authorJames Turner <zakalawe@mac.com>
Tue, 25 Jun 2013 20:53:19 +0000 (21:53 +0100)
committerJames Turner <zakalawe@mac.com>
Tue, 25 Jun 2013 20:53:26 +0000 (21:53 +0100)
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

src/Navaids/NavDataCache.cxx

index db6c3b6ca466616bdf81b7399491f6321dcf96c3..f7c589bf09de1e525d2b51db515bd6d482e50cd5 100644 (file)
@@ -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
     {