]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/submodel.cxx
Remove unused variables
[flightgear.git] / src / AIModel / submodel.cxx
index e246523a10db7bf7435270f243808329aca998c2..af67c1d5a1f7cc6cc5d0edbef0f36d55cf8ed56c 100644 (file)
@@ -514,7 +514,7 @@ void FGSubmodelMgr::loadAI()
     sm_list = ai->get_ai_list();
 
     if (sm_list.empty()) {
-        SG_LOG(SG_GENERAL, SG_ALERT, "Submodels: Unable to read AI submodel list");
+        SG_LOG(SG_GENERAL, SG_DEBUG, "Submodels: Unable to read AI submodel list");
         return;
     }
 
@@ -558,8 +558,8 @@ 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) {
-        SG_LOG(SG_GENERAL, SG_ALERT,
+    } catch (const sg_exception &) {
+        SG_LOG(SG_GENERAL, SG_DEBUG,
                 "Submodels: Unable to read AI submodels file: " << config.str());
         return;
     }
@@ -663,8 +663,8 @@ 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) {
-        SG_LOG(SG_GENERAL, SG_ALERT,
+    } catch (const sg_exception &) {
+        SG_LOG(SG_GENERAL, SG_DEBUG,
                 "Submodels: Unable to read AI submodels file: " << config.str());
         return;
     }