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
This commit is contained in:
parent
e5bace53af
commit
36896733d7
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue