]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/altimeter.cxx
remove inclusion of useless stdio.h
[flightgear.git] / src / Instrumentation / altimeter.cxx
index 10ae3da29aefabf1b5ba968cbdbe34cc54d71893..0f8d5fc2c7a1ab184c0f790eccf3205c78b0e754 100644 (file)
 //      </altimeter>
 // Note non-default name, quantum, and tau values.
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <simgear/math/interpolater.hxx>
 #include <simgear/math/SGMath.hxx>
 
@@ -43,6 +47,7 @@ Altimeter::init ()
 
     SGPropertyNode *node = fgGetNode(branch.c_str(), _num, true );
     raw_PA = 0.0;
+    _kollsman = 0.0;
     _pressure_node     = fgGetNode(_static_pressure.c_str(), true);
     _serviceable_node  = node->getChild("serviceable", 0, true);
     _setting_node      = node->getChild("setting-inhg", 0, true);