1
0
Fork 0

Fix compiler warnings

This commit is contained in:
Stuart Buchanan 2021-04-26 21:01:49 +01:00
parent 8085d1fa2c
commit 6529234abe
2 changed files with 1 additions and 3 deletions

View file

@ -233,7 +233,7 @@ public:
using AggregateErrors = std::vector<AggregateReport>;
AggregateErrors _aggregated;
int _activeReportIndex = -1;
long unsigned int _activeReportIndex = -1;
string_list _significantProperties; ///< properties we want to include in reports, for debugging
/**

View file

@ -366,8 +366,6 @@ static InitPosResult setInitialPosFromCarrier( const string& carrier )
{
std::string cpos = simgear::strutils::lowercase(carrierpos);
const bool inair = (cpos == "flols") || (cpos == "abeam");
if (cpos == "flols" || cpos == "abeam")
fgSetInt("/sim/presets/carrier-course", 3);// base=1, launch=2, recovery=3
else if (parkpos.find("cat") != std::string::npos)