]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/IO360.cxx
Avoid a potential segfault.
[flightgear.git] / src / FDM / IO360.cxx
index aa8098aaece236bd68295b1eef6d66c912ae5bde..9c256b29a352c557c77c7f15d13ac5ce37b02b3d 100644 (file)
@@ -26,9 +26,7 @@
 #include STL_FSTREAM
 #include STL_IOSTREAM
 
-#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
 SG_USING_STD(cout);
-#endif
 
 #include "IO360.hxx"
 #include "LaRCsim/ls_constants.h"
@@ -637,10 +635,8 @@ float FGNewEngine::Calc_Oil_Press (float Oil_Temp, float Engine_RPM)
 void FGNewEngine::Do_Prop_Calcs()
 {
     float Gear_Ratio = 1.0;
-    float blade_length;        // meters
     float forward_velocity;             // m/s
     float prop_power_consumed_SI;       // Watts
-    float prop_power_consumed_HP;       // HP
     double J;                          // advance ratio - dimensionless
     double Cp_20;                   // coefficient of power for 20 degree blade angle
     double Cp_25;                   // coefficient of power for 25 degree blade angle