From: Erik Hofman Date: Fri, 11 Dec 2015 10:39:29 +0000 (+0100) Subject: Fix warning: variable ‘isPushBackRoute’ set but not used X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6b9a28a568dee493dc76be76a2d8eb106133d4e4;p=flightgear.git Fix warning: variable ‘isPushBackRoute’ set but not used --- diff --git a/src/Airports/dynamicloader.cxx b/src/Airports/dynamicloader.cxx index a5b08d4a4..97cab7f10 100644 --- a/src/Airports/dynamicloader.cxx +++ b/src/Airports/dynamicloader.cxx @@ -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)