From 33ee43dec0ffa95f8ffd7af520776e526cb78b6d Mon Sep 17 00:00:00 2001 From: torsten Date: Sat, 2 Jan 2010 20:00:06 +0000 Subject: [PATCH] eliminate gcc warning, unused member depth. --- src/Airports/groundnetwork.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Airports/groundnetwork.hxx b/src/Airports/groundnetwork.hxx index 10a78b275..733cede9e 100644 --- a/src/Airports/groundnetwork.hxx +++ b/src/Airports/groundnetwork.hxx @@ -162,7 +162,7 @@ private: intVec nodes; intVec routes; double distance; - int depth; +// int depth; intVecIterator currNode; intVecIterator currRoute; @@ -173,14 +173,14 @@ public: routes = rts; distance = dist; currNode = nodes.begin(); - depth = dpth; +// depth = dpth; }; FGTaxiRoute& operator= (const FGTaxiRoute &other) { nodes = other.nodes; routes = other.routes; distance = other.distance; - depth = other.depth; +// depth = other.depth; currNode = nodes.begin(); currRoute = routes.begin(); return *this; @@ -190,7 +190,7 @@ public: nodes(copy.nodes), routes(copy.routes), distance(copy.distance), - depth(copy.depth), +// depth(copy.depth), currNode(nodes.begin()), currRoute(routes.begin()) {}; @@ -203,7 +203,7 @@ public: void first() { currNode = nodes.begin(); currRoute = routes.begin(); }; int size() { return nodes.size(); }; - int getDepth() { return depth; }; +// int getDepth() { return depth; }; }; typedef vector TaxiRouteVector;