]> git.mxchange.org Git - flightgear.git/commitdiff
Remove unused value, formatting.
authorThomas Geymayer <tomgey@gmail.com>
Sun, 22 Jun 2014 13:36:25 +0000 (15:36 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 22 Jun 2014 13:36:25 +0000 (15:36 +0200)
src/Main/globals.cxx

index af88f381e34bb22096f7f6520d764d3295219d1e..718e70e556dbc5c65199045b1e62b28bc67b63b2 100644 (file)
@@ -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);
 }