X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fhud_rwy.cxx;h=2bc15bcd1fcabc4c5c826efbd3f688d294b7469e;hb=e7625515247552f6a45627926522d306176e6302;hp=321d20d3e581afa8a7565e539e3416b267a5fd0b;hpb=157eb857ef36636a316947fe1eb3d9a8bea1959b;p=flightgear.git diff --git a/src/Cockpit/hud_rwy.cxx b/src/Cockpit/hud_rwy.cxx index 321d20d3e..2bc15bcd1 100644 --- a/src/Cockpit/hud_rwy.cxx +++ b/src/Cockpit/hud_rwy.cxx @@ -30,9 +30,8 @@ #include #include #include -#include -#include #include +#include
#include @@ -189,7 +188,7 @@ void runway_instr::get_rwy_points(sgdVec3 *points3d) double alt = current_aircraft.fdm_state->get_Runway_altitude() * SG_FEET_TO_METER; double length = runway->lengthM() * 0.5; double width = runway->widthM() * 0.5; - double frontLat, frontLon, backLat, backLon,az, tempLat, tempLon; + double frontLat = 0.0, frontLon = 0.0, backLat = 0.0, backLon = 0.0, az = 0.0, tempLat = 0.0, tempLon = 0.0; double runwayLon = runway->geod().getLongitudeDeg(), runwayLat = runway->geod().getLatitudeDeg(); double heading = runway->headingDeg();