1
0
Fork 0

warning fixes

This commit is contained in:
torsten 2009-08-23 18:13:32 +00:00 committed by Tim Moore
parent 8d98e4cd49
commit b3ceb9a2fd
4 changed files with 7 additions and 4 deletions

View file

@ -1027,6 +1027,9 @@ void DCLGPS::CreateFlightPlan(GPSFlightPlan* fp, vector<string> ids, vector<GPSW
case GPS_WP_USR:
// TODO
break;
case GPS_WP_VIRT:
// TODO
break;
}
}
}

View file

@ -830,7 +830,7 @@ void FGNavRadio::search()
// derive GS baseline (perpendicular to the runay
// along the ground)
double tlon, tlat, taz;
double tlon = 0.0, tlat = 0.0, taz = 0.0;
geo_direct_wgs_84 ( 0.0, gs_lat, gs_lon,
target_radial + 90,
100.0, &tlat, &tlon, &taz );

View file

@ -136,8 +136,8 @@ radAlt::getDistanceAntennaToHit(SGVec3d nearestHit) const
void
radAlt::update_altitude()
{
int mode = _radar_mode_control_node->getIntValue();
double tilt = _Instrument->getDoubleValue("tilt", -85);
// int mode = _radar_mode_control_node->getIntValue();
// double tilt = _Instrument->getDoubleValue("tilt", -85);
double el_limit = _Instrument->getDoubleValue("elev-limit", 15);
double el_step = _Instrument->getDoubleValue("elev-step-deg", 15);
double az_limit = _Instrument->getDoubleValue("az-limit-deg", 15);

View file

@ -463,7 +463,7 @@ wxRadarBg::update_weather()
// pretend we have a scan angle bigger then the FOV
// TODO:check real fov, enlarge if < nn, and do clipping if > mm
const float fovFactor = 1.45f;
// const float fovFactor = 1.45f;
_Instrument->setStringValue("status", modeButton.c_str());
list_of_SGWxRadarEcho *radarEcho = &_radarEchoBuffer;