1
0
Fork 0

Remove unused value, formatting.

This commit is contained in:
Thomas Geymayer 2014-06-22 15:36:25 +02:00
parent 821af95e0d
commit f7f7be77e5

View file

@ -427,13 +427,16 @@ void FGGlobals::append_aircraft_path(const std::string& path)
SGPath acSubdir(dirPath);
acSubdir.append("Aircraft");
if (acSubdir.exists()) {
SG_LOG(SG_GENERAL, SG_WARN, "Specified an aircraft-dir with an 'Aircraft' subdirectory:" << dirPath
<< ", will instead use child directory:" << acSubdir);
SG_LOG(
SG_GENERAL,
SG_WARN,
"Specified an aircraft-dir with an 'Aircraft' subdirectory:" << dirPath
<< ", will instead use child directory:" << acSubdir
);
dirPath = acSubdir;
}
std::string abspath = dirPath.realpath();
unsigned int index = fg_aircraft_dirs.size();
fg_aircraft_dirs.push_back(abspath);
}