]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIFlightPlanCreate.cxx
properly add librt when clock_gettime is used
[flightgear.git] / src / AIModel / AIFlightPlanCreate.cxx
index b603173de38f1415edfd3bd62a194eed7a1a003c..ba2f291741f151b010c5fdf5097f8770be6d30d3 100644 (file)
@@ -909,7 +909,7 @@ bool FGAIFlightPlan::createLanding(FGAIAircraft * ac, FGAirport * apt,
 
 
     FGAIWaypoint *wpt;
-    double aptElev = apt->getElevation();
+    //double aptElev = apt->getElevation();
     double currElev = 0;
     char buffer[12];
     FGRunway * rwy = apt->getRunwayByIdent(activeRunway);