1
0
Fork 0

Fix some compiler warnings

This commit is contained in:
ehofman 2003-10-16 12:53:10 +00:00
parent 7105d2029a
commit cd4263f333
2 changed files with 6 additions and 6 deletions

View file

@ -121,13 +121,13 @@ FGEnvironment::FGEnvironment()
dewpoint_degc(5),
pressure_sea_level_inhg(29.92),
pressure_inhg(29.92),
turbulence_magnitude_norm(0),
turbulence_rate_hz(1),
wind_from_heading_deg(0),
wind_speed_kt(0),
wind_from_north_fps(0),
wind_from_east_fps(0),
wind_from_down_fps(0),
turbulence_magnitude_norm(0),
turbulence_rate_hz(1)
wind_from_down_fps(0)
{
_setup_tables();
_recalc_density();

View file

@ -172,7 +172,7 @@ FGInterpolateEnvironmentCtrl::FGInterpolateEnvironmentCtrl ()
FGInterpolateEnvironmentCtrl::~FGInterpolateEnvironmentCtrl ()
{
int i;
unsigned int i;
for (i = 0; i < _boundary_table.size(); i++)
delete _boundary_table[i];
for (i = 0; i < _aloft_table.size(); i++)
@ -193,7 +193,7 @@ FGInterpolateEnvironmentCtrl::init ()
void
FGInterpolateEnvironmentCtrl::reinit ()
{
int i;
unsigned int i;
for (i = 0; i < _boundary_table.size(); i++)
delete _boundary_table[i];
for (i = 0; i < _aloft_table.size(); i++)
@ -233,7 +233,7 @@ FGInterpolateEnvironmentCtrl::update (double delta_time_sec)
double boundary_transition =
fgGetDouble("/environment/config/boundary-transition-ft", 500);
double ground_elevation_ft = altitude_ft - altitude_agl_ft;
// double ground_elevation_ft = altitude_ft - altitude_agl_ft;
int length = _boundary_table.size();