]> git.mxchange.org Git - flightgear.git/commitdiff
Fix warning: variable ‘isPushBackRoute’ set but not used
authorErik Hofman <erik@ehofman.com>
Fri, 11 Dec 2015 10:39:29 +0000 (11:39 +0100)
committerErik Hofman <erik@ehofman.com>
Fri, 11 Dec 2015 10:39:29 +0000 (11:39 +0100)
src/Airports/dynamicloader.cxx

index a5b08d4a4191e37bc76e2b942a835ac1b12517de..97cab7f105e5ebddef3e7591014e7200cb4a92cd 100644 (file)
@@ -225,6 +225,9 @@ void FGAirportDynamicsXMLLoader::startArc(const XMLAttributes &atts)
 
   _arcSet.insert(e);  
   _dynamics->getGroundNetwork()->addSegment(fromNode, toNode);
+  if (isPushBackRoute) {
+      toNode->setIsPushback();
+  }
 }
 
 void FGAirportDynamicsXMLLoader::startElement (const char * name, const XMLAttributes &atts)