diff --git a/src/Airports/xmlloader.cxx b/src/Airports/xmlloader.cxx index 1009f8a0e..440d7718f 100644 --- a/src/Airports/xmlloader.cxx +++ b/src/Airports/xmlloader.cxx @@ -14,7 +14,9 @@ // #include + #include
+#include
#include "xmlloader.hxx" #include "dynamicloader.hxx" @@ -67,12 +69,13 @@ void XMLLoader::load(FGAirportDynamics* d) { try { readXML(parkpath.str(), visitor); d->init(); - } - catch (const sg_exception &e) { + } + catch (const sg_exception &e) { + } + return; } - return; - } - } + } + } } }