From bcc8339c4f4b3c205b062cc39c27bc6b69331c30 Mon Sep 17 00:00:00 2001 From: fredb Date: Thu, 12 Jan 2006 21:35:32 +0000 Subject: [PATCH] Variable 'thrust' used before being initialized --- src/FDM/JSBSim/models/propulsion/FGTurboProp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FDM/JSBSim/models/propulsion/FGTurboProp.cpp b/src/FDM/JSBSim/models/propulsion/FGTurboProp.cpp index e6bd2dc26..12a8f36e7 100755 --- a/src/FDM/JSBSim/models/propulsion/FGTurboProp.cpp +++ b/src/FDM/JSBSim/models/propulsion/FGTurboProp.cpp @@ -278,7 +278,7 @@ double FGTurboProp::Off(void) double FGTurboProp::Run(void) { - double idlethrust, milthrust, thrust, EngPower_HP, eff_coef; + double idlethrust, milthrust, thrust = 0.0, EngPower_HP, eff_coef; Running = true; Starter = false; EngStarting = false; //---