]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/sidstar.cxx
John Denker:
[flightgear.git] / src / Airports / sidstar.cxx
index cbeac9aed884655699d183336fa3b8497b27ca46..6566e23d851fdc491328f7c8003e27bf44e50463 100644 (file)
 //
 // $Id$
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <iostream>
 #include <stdlib.h>
 
@@ -51,7 +55,7 @@ void FGSidStar::load(SGPath filename) {
   string name;
   try {
       readProperties(filename.str(), &root);
-  } catch (const sg_exception &e) {
+  } catch (const sg_exception &) {
       SG_LOG(SG_GENERAL, SG_ALERT,
        "Error reading AI flight plan: " << filename.str());
        // cout << path.str() << endl;