]> git.mxchange.org Git - flightgear.git/commitdiff
More unused vars caught by Xcode.
authorJames Turner <zakalawe@mac.com>
Thu, 4 Jul 2013 19:56:04 +0000 (20:56 +0100)
committerJames Turner <zakalawe@mac.com>
Thu, 4 Jul 2013 19:56:04 +0000 (20:56 +0100)
src/AIModel/AIAircraft.hxx
src/Instrumentation/HUD/HUD_private.hxx
src/Network/ATC-Main.hxx
src/Network/ATC-Outputs.hxx
src/Network/AV400WSim.cxx
src/Network/AV400WSim.hxx
src/Traffic/TrafficMgr.cxx
src/Traffic/TrafficMgr.hxx

index 2f7c2d547e433b8c54101d800790baea46e912a6..0d92868eee1a09a4de5e73c060524e2a76111a20 100644 (file)
@@ -174,7 +174,6 @@ private:
 
     const char * _getTransponderCode() const;
 
-    bool reachedWaypoint;
     bool needsTaxiClearance;
     bool _needsGroundElevation;
     int  takeOffStatus; // 1 = joined departure cue; 2 = Passed DepartureHold waypoint; handover control to tower; 0 = any other state. 
index 9f42dcd458f0248b36b53a1884db9c86c7813de9..f894f6b1cc5a733f337be36e34311f3abb03a97f 100644 (file)
@@ -162,7 +162,6 @@ protected:
 
 private:
     SGSharedPtr<SGCondition> _condition;
-    float       _disp_factor;   // Multiply by to get numbers shown on scale.
     float       _scr_span;      // Working values for draw;
     int         _digits;
 };
index b6adc73ef1574d023dc24de1383530eb1d1e50df..d5ff9c91bbeb03582653c09d3ef6e47b3360fc14 100644 (file)
@@ -50,8 +50,6 @@ class FGATCMain : public FGProtocol {
     SGPath output0_path;
     SGPath output1_path;
 
-    int board;
-
     int lock0_fd;
     int lock1_fd;
 
index d31edc76643e54ac90a3d8edb5d4e4ba297085bd..0125f0a66e12b878787a45e2a45bb753b6e3b4a6 100644 (file)
@@ -43,7 +43,6 @@ class FGATCOutput {
     int board;
     SGPath config;
 
-    int lock_fd;
     int analog_out_fd;
     int lamps_fd;
     int radio_display_fd;
index 025bfddb084358049a2aa770c90ad8967ab40924..cd475027e7aca838ddd57ade86d0f5f95001c3d5 100644 (file)
@@ -265,7 +265,6 @@ hz2count(0),
 hz2cycles(0),    
 flight_phase(0xFF),
 req_hostid(true),
-req_raimap(false),
 req_sbas(false)
 {
     hal.clear();
index 3ff7a4190618ed91b41cffbbfac53aa9df16bbda..62759724a470608e10c3e725a7656ddc2dee58bd 100644 (file)
@@ -88,7 +88,6 @@ class FGAV400WSimB : public FGProtocol {
     string val;
     string sbas_sel;
     bool req_hostid;
-    bool req_raimap;
     bool req_sbas;
     int outputctr;
 
index a9ab6e794a7ec7615c88e3b2fb2c36cad327d5e8..e21ed2c456df2de1a4c260705d55f650e162a4e6 100644 (file)
@@ -153,7 +153,6 @@ FGTrafficManager::FGTrafficManager() :
   waitingMetarTime(0.0),
   cruiseAlt(0),
   score(0),
-  runCount(0),
   acCounter(0),
   radius(0),
   offset(0),
index 8cf3d8ef8c77a3a1219539ad6e80ed24c875e2e3..c4978a8473c4e09ad8b348e3e5ac3df9378f8506 100644 (file)
@@ -97,7 +97,7 @@ private:
     port, timeString, departurePort, departureTime, arrivalPort, arrivalTime,
     repeat, acType, airline, m_class, flighttype, requiredAircraft, homePort;
   int cruiseAlt;
-  int score, runCount, acCounter;
+  int score, acCounter;
   double radius, offset;
   bool heavy;