]> git.mxchange.org Git - flightgear.git/blobdiff - src/Model/modelmgr.cxx
another attempt at getting something useful without any result.
[flightgear.git] / src / Model / modelmgr.cxx
index 2b547cf027486a0cfcefbad6f69f98329ada551c..600086d29e9d77ece1819bc319f6e8f6fac1fa87 100644 (file)
@@ -3,6 +3,10 @@
 //
 // This file is in the Public Domain, and comes with no warranty.
 
+#ifdef _MSC_VER
+#  pragma warning( disable: 4355 )
+#endif
+
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
@@ -172,7 +176,7 @@ struct UpdateFunctor : public std::unary_function<FGModelMgr::Instance*, void>
                 pitch = testNan(instance->pitch_deg_node->getDoubleValue());
             if (instance->heading_deg_node != 0)
                 heading = testNan(instance->heading_deg_node->getDoubleValue());
-        } catch (const sg_range_exception& e) {
+        } catch (const sg_range_exception&) {
             const char *path = instance->node->getStringValue("path",
                                                               "unknown");
             SG_LOG(SG_GENERAL, SG_INFO, "Instance of model " << path