]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/system_mgr.cxx
Merge branch 'jsd/atmos' into topic/atmos-merge
[flightgear.git] / src / Systems / system_mgr.cxx
index cc1844d1a12589a045bcaf058cfbc026c141a519..9d945a5849f3adeaed68acea0f3cfedcc25dbc86 100644 (file)
@@ -3,9 +3,14 @@
 //
 // This file is in the Public Domain and comes with no warranty.
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <simgear/structure/exception.hxx>
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/sg_inlines.h>
+#include <simgear/props/props_io.hxx>
 
 #include <Main/fg_props.hxx>
 #include <Main/globals.hxx>
@@ -41,14 +46,14 @@ FGSystemMgr::FGSystemMgr ()
                 enabled = true;
             } else {
                 SG_LOG( SG_ALL, SG_ALERT,
-                        "Detected an internal inconsistancy in the systems");
+                        "Detected an internal inconsistency in the systems");
                 SG_LOG( SG_ALL, SG_ALERT,
                         " system specification file.  See earlier errors for" );
                 SG_LOG( SG_ALL, SG_ALERT,
                         " details.");
                 exit(-1);
             }        
-        } catch (const sg_exception& exc) {
+        } catch (const sg_exception&) {
             SG_LOG( SG_ALL, SG_ALERT, "Failed to load systems system model: "
                     << config.str() );
         }