From 31e933d83649206e652d3aa20be73964c13e3c3b Mon Sep 17 00:00:00 2001 From: James Turner Date: Sat, 25 Mar 2017 15:40:11 +0000 Subject: [PATCH] Kill the Aircraft/foo path warning. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We probably need a warning for cross-aircraft paths, but leaving that for a separate change since I’m worried it will warn on MP aircraft. Maybe better checked in the Python scripts than in the app? --- src/Main/globals.cxx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Main/globals.cxx b/src/Main/globals.cxx index dba68837a..946739dbc 100644 --- a/src/Main/globals.cxx +++ b/src/Main/globals.cxx @@ -88,14 +88,6 @@ public: const char* aircraftDir = fgGetString("/sim/aircraft-dir"); string_list aircraftDirPieces(sgPathBranchSplit(aircraftDir)); if (!aircraftDirPieces.empty() && (aircraftDirPieces.back() == pieces[1])) { - // disable this warning for release builds - SGPath betterPath; - for (unsigned int i=2; i