X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Fsidstar.cxx;h=6566e23d851fdc491328f7c8003e27bf44e50463;hb=ab149d0036f21fd2ad685f7efea28f84986534b0;hp=cbeac9aed884655699d183336fa3b8497b27ca46;hpb=9cc92035b19c3407344398503a1ea570769aed85;p=flightgear.git diff --git a/src/Airports/sidstar.cxx b/src/Airports/sidstar.cxx index cbeac9aed..6566e23d8 100644 --- a/src/Airports/sidstar.cxx +++ b/src/Airports/sidstar.cxx @@ -18,6 +18,10 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include @@ -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;