Fix compiler warnings
This commit is contained in:
parent
8085d1fa2c
commit
6529234abe
2 changed files with 1 additions and 3 deletions
|
@ -233,7 +233,7 @@ public:
|
||||||
|
|
||||||
using AggregateErrors = std::vector<AggregateReport>;
|
using AggregateErrors = std::vector<AggregateReport>;
|
||||||
AggregateErrors _aggregated;
|
AggregateErrors _aggregated;
|
||||||
int _activeReportIndex = -1;
|
long unsigned int _activeReportIndex = -1;
|
||||||
string_list _significantProperties; ///< properties we want to include in reports, for debugging
|
string_list _significantProperties; ///< properties we want to include in reports, for debugging
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -366,8 +366,6 @@ static InitPosResult setInitialPosFromCarrier( const string& carrier )
|
||||||
{
|
{
|
||||||
std::string cpos = simgear::strutils::lowercase(carrierpos);
|
std::string cpos = simgear::strutils::lowercase(carrierpos);
|
||||||
|
|
||||||
const bool inair = (cpos == "flols") || (cpos == "abeam");
|
|
||||||
|
|
||||||
if (cpos == "flols" || cpos == "abeam")
|
if (cpos == "flols" || cpos == "abeam")
|
||||||
fgSetInt("/sim/presets/carrier-course", 3);// base=1, launch=2, recovery=3
|
fgSetInt("/sim/presets/carrier-course", 3);// base=1, launch=2, recovery=3
|
||||||
else if (parkpos.find("cat") != std::string::npos)
|
else if (parkpos.find("cat") != std::string::npos)
|
||||||
|
|
Loading…
Add table
Reference in a new issue