From 6b9a28a568dee493dc76be76a2d8eb106133d4e4 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Fri, 11 Dec 2015 11:39:29 +0100 Subject: [PATCH] =?utf8?q?Fix=20warning:=20variable=20=E2=80=98isPushBackR?= =?utf8?q?oute=E2=80=99=20set=20but=20not=20used?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/Airports/dynamicloader.cxx | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5