#include "awynet.hxx"
using std::sort;
-
+using std::string;
using std::cerr;
using std::endl;
int FGAirwayNetwork::findNearestNode(const SGGeod& aPos)
{
double minDist = HUGE_VAL;
- int index;
+ int index = -1;
SGVec3d cart = SGVec3d::fromGeod(aPos);
//cerr << "Lat " << lat << " lon " << lon << endl;