X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2Fsubmodel.cxx;h=a7c79f4a46028292ff8ba08fef7329ab8156a454;hb=301054204e0412eb31f06477e32cfe6f1fcb0792;hp=774820dc8343ffda2fb313b72d86c3ecfd78c1c4;hpb=9ecc3415fb8126f398815e78013df9844e5d473d;p=flightgear.git diff --git a/src/AIModel/submodel.cxx b/src/AIModel/submodel.cxx index 774820dc8..a7c79f4a4 100644 --- a/src/AIModel/submodel.cxx +++ b/src/AIModel/submodel.cxx @@ -13,6 +13,7 @@ #include #include #include +#include #include
#include
@@ -558,7 +559,7 @@ void FGSubmodelMgr::setData(int id, string& path, bool serviceable) SG_LOG(SG_GENERAL, SG_DEBUG, "Submodels: Trying to read AI submodels file: " << config.str()); readProperties(config.str(), &root); - } catch (const sg_exception &e) { + } catch (const sg_exception &) { SG_LOG(SG_GENERAL, SG_DEBUG, "Submodels: Unable to read AI submodels file: " << config.str()); return; @@ -663,7 +664,7 @@ void FGSubmodelMgr::setSubData(int id, string& path, bool serviceable) "Submodels: Trying to read AI submodels file: " << config.str()); readProperties(config.str(), &root); - } catch (const sg_exception &e) { + } catch (const sg_exception &) { SG_LOG(SG_GENERAL, SG_DEBUG, "Submodels: Unable to read AI submodels file: " << config.str()); return;