From f7f7be77e55e2c7194b710581022016f41c95f36 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Sun, 22 Jun 2014 15:36:25 +0200 Subject: [PATCH] Remove unused value, formatting. --- src/Main/globals.cxx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/Main/globals.cxx b/src/Main/globals.cxx index af88f381e..718e70e55 100644 --- a/src/Main/globals.cxx +++ b/src/Main/globals.cxx @@ -423,17 +423,20 @@ void FGGlobals::append_aircraft_path(const std::string& path) SG_LOG(SG_GENERAL, SG_ALERT, "aircraft path not found:" << path); return; } - + 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); } -- 2.39.5