Fix some compiler warnings
This commit is contained in:
parent
7105d2029a
commit
cd4263f333
2 changed files with 6 additions and 6 deletions
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue