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