]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/performancedb.cxx
Enable Ballistic objects to be slaved to any AI Object.
[flightgear.git] / src / AIModel / performancedb.cxx
index 10e7f6ce1189f94ca21e78f2db65b5fa1415f4c2..f7c286a9a345b8aea1d73ff6d5b9160f151a89b6 100644 (file)
@@ -1,3 +1,4 @@
+#include <simgear/math/SGMath.hxx>
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/props/props.hxx>
 #include <simgear/props/props_io.hxx>
@@ -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;