Fix some warnings identified by Clang
_ unused private members. Removed in most cases, commented out in a couple of cases where it feels as if the code might be used in the future.
This commit is contained in:
parent
2bff8d2220
commit
ea822a99e1
6 changed files with 11 additions and 14 deletions
|
@ -104,14 +104,11 @@ private:
|
|||
double dist; // the distance of the eyepoint from the flols
|
||||
double angle;
|
||||
int source; // the flols light which is visible at the moment
|
||||
bool wave_off_lights;
|
||||
bool in_to_wind;
|
||||
|
||||
// these are for maneuvering the carrier
|
||||
SGGeod mOpBoxPos;
|
||||
|
||||
double wind_speed_from_north_kts ;
|
||||
double wind_speed_from_east_kts ;
|
||||
double wind_speed_kts; //true wind speed
|
||||
double wind_from_deg; //true wind direction
|
||||
double rel_wind;
|
||||
|
|
|
@ -115,10 +115,6 @@ private:
|
|||
submodel_vector_type subsubmodels;
|
||||
submodel_vector_iterator submodel_iterator, subsubmodel_iterator;
|
||||
|
||||
float trans[3][3];
|
||||
float in[3];
|
||||
float out[3];
|
||||
|
||||
//double Rx, Ry, Rz;
|
||||
//double Sx, Sy, Sz;
|
||||
//double Tx, Ty, Tz;
|
||||
|
@ -142,7 +138,7 @@ private:
|
|||
double _parent_pitch;
|
||||
double _parent_roll;
|
||||
double _parent_speed;
|
||||
double _parent_ID;
|
||||
//double _parent_ID;
|
||||
|
||||
double _x_offset;
|
||||
double _y_offset;
|
||||
|
|
|
@ -77,12 +77,12 @@ private:
|
|||
float _forceMagnitude;
|
||||
double _global_ground[4];
|
||||
float _global_vel[3];
|
||||
char _name[256];
|
||||
//char _name[256];
|
||||
State* _state;
|
||||
float _dist;
|
||||
float _timeLagCorrectedDist;
|
||||
SGPropertyNode_ptr _towEndNode;
|
||||
const char *_towEndPropertyName;
|
||||
//const char *_towEndPropertyName;
|
||||
bool _towEndIsConnectedToProperty;
|
||||
bool _nodeIsMultiplayer;
|
||||
bool _nodeIsAiAircraft;
|
||||
|
|
|
@ -43,8 +43,8 @@ private:
|
|||
|
||||
float _n2Min;
|
||||
float _n2Target;
|
||||
float _torqueTarget;
|
||||
float _fuelFlowTarget;
|
||||
//float _torqueTarget;
|
||||
//float _fuelFlowTarget;
|
||||
|
||||
float _n2;
|
||||
float _rho;
|
||||
|
|
|
@ -262,7 +262,6 @@ public:
|
|||
LegWayptCtl(RNAV* aRNAV, const WayptRef& aWpt) :
|
||||
WayptController(aRNAV, aWpt),
|
||||
_waypointOrigin(),
|
||||
_distanceOriginTargetMeter(0.0),
|
||||
_distanceOriginAircraftMeter(0.0),
|
||||
_distanceAircraftTargetMeter(0.0),
|
||||
_courseOriginToAircraft(0.0),
|
||||
|
@ -366,7 +365,6 @@ private:
|
|||
* A(from), B(to), D(position) perhaps off course
|
||||
*/
|
||||
SGGeod _waypointOrigin;
|
||||
double _distanceOriginTargetMeter;
|
||||
double _distanceOriginAircraftMeter;
|
||||
double _distanceAircraftTargetMeter;
|
||||
double _courseOriginToAircraft;
|
||||
|
|
|
@ -44,6 +44,12 @@ public:
|
|||
|
||||
static void load(const SGPath& path);
|
||||
|
||||
double topAltitudeFt() const
|
||||
{ return _topAltitudeFt; }
|
||||
|
||||
double bottomAltitudeFt() const
|
||||
{ return _bottomAltitudeFt; }
|
||||
|
||||
/**
|
||||
* Track a network of airways
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue