1
0
Fork 0

Note to self: Do test compile, even when it's only adding a simple if/else

statement around two existing pieces of code. :-)
This commit is contained in:
durk 2009-01-30 19:05:27 +00:00 committed by Tim Moore
parent c6f88e5b9b
commit b15a5508a0

View file

@ -14,7 +14,9 @@
//
#include <simgear/misc/sg_path.hxx>
#include <Main/globals.hxx>
#include <Main/fg_props.hxx>
#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) {
}
return;
}
catch (const sg_exception &e) {
}
return;
}
}
}
}
}
}