X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2Fperformancedb.cxx;h=f7c286a9a345b8aea1d73ff6d5b9160f151a89b6;hb=b4fbde72b275dc75e8ecf7b44261aba642e5da0f;hp=10e7f6ce1189f94ca21e78f2db65b5fa1415f4c2;hpb=a4debec12277fcb2d0ac109f1af33f0491af52a7;p=flightgear.git diff --git a/src/AIModel/performancedb.cxx b/src/AIModel/performancedb.cxx index 10e7f6ce1..f7c286a9a 100644 --- a/src/AIModel/performancedb.cxx +++ b/src/AIModel/performancedb.cxx @@ -1,3 +1,4 @@ +#include #include #include #include @@ -60,7 +61,7 @@ void PerformanceDB::load(SGPath filename) { SGPropertyNode root; try { readProperties(filename.str(), &root); - } catch (const sg_exception &e) { + } catch (const sg_exception &) { SG_LOG(SG_GENERAL, SG_ALERT, "Error reading AI aircraft performance database: " << filename.str()); return;