From 32d3f6308c8a3b62584ee8420d3a90df40bcc07e Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 7 Dec 2008 19:47:48 +0000 Subject: [PATCH] Anders GIDENSTAM: "Do not leak uninitialized values to the rest of the computation." (forward port from jsbsim/cvs) --- src/FDM/JSBSim/models/propulsion/FGTank.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FDM/JSBSim/models/propulsion/FGTank.cpp b/src/FDM/JSBSim/models/propulsion/FGTank.cpp index 5f99f402e..caa8ef2f6 100644 --- a/src/FDM/JSBSim/models/propulsion/FGTank.cpp +++ b/src/FDM/JSBSim/models/propulsion/FGTank.cpp @@ -59,6 +59,7 @@ FGTank::FGTank(FGFDMExec* exec, Element* el, int tank_number) Element* element_Grain; Area = 1.0; Temperature = -9999.0; + Ixx = Iyy = Izz = 0.0; Auxiliary = exec->GetAuxiliary(); Radius = Capacity = Contents = Standpipe = Length = InnerRadius = 0.0; PropertyManager = exec->GetPropertyManager();