]> git.mxchange.org Git - flightgear.git/commitdiff
_kollsman member not initialized
authorTim Moore <timoore@redhat.com>
Mon, 26 Jan 2009 08:09:08 +0000 (09:09 +0100)
committerTim Moore <timoore@redhat.com>
Mon, 26 Jan 2009 08:37:46 +0000 (09:37 +0100)
From Csaba Helasz

src/Instrumentation/altimeter.cxx

index 8e9fbb1c95897cc72fde13ef4f5e2d9cf80f9796..0f8d5fc2c7a1ab184c0f790eccf3205c78b0e754 100644 (file)
@@ -47,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);