Here's again one of the more obscure bugs that valgrind complains about: somehow
the STL container classes manage to read out values before they were ever set.
This patch fixes that. This may not cause any harm in this case, but valgrind
seems to *always* be right about them.
string _code; // depricated and can be removed
string _name;
bool _has_metar;
+
+ FGAirport() : _longitude(0), _latitude(0), _elevation(0) {}
};
typedef map < string, FGAirport > airport_map;