]> git.mxchange.org Git - flightgear.git/commitdiff
Fix Clang unused member warnings in JSBsim.
authorJames Turner <zakalawe@mac.com>
Sat, 26 Mar 2016 20:24:57 +0000 (20:24 +0000)
committerJames Turner <zakalawe@mac.com>
Sat, 26 Mar 2016 20:24:57 +0000 (20:24 +0000)
src/FDM/JSBSim/JSBSim.hxx
src/FDM/JSBSim/input_output/FGfdmSocket.h

index d6c3c6ab97b78d0dd1ef6896ccefb0a31105e14b..54799158e3a246b432db2b8c07a8ea83efe1079a 100644 (file)
@@ -238,9 +238,12 @@ private:
     JSBSim::FGAccelerations*   Accelerations;
     JSBSim::FGPropertyManager* PropertyManager;
 
+    // disabling unused members
+    /*
     int runcount;
     double trim_elev;
     double trim_throttle;
+     */
 
     SGPropertyNode_ptr startup_trim;
     SGPropertyNode_ptr trimmed;
index 53a1dc641167bd446225f1854bd87df7b284f815..46ba7d9ce13bd9c3956335e6afd063dc1d28e9c1 100644 (file)
@@ -114,7 +114,7 @@ public:
 private:
   int sckt;
   int sckt_in;
-  int udpsckt;
+  //int udpsckt;
   DirectionType Direction;
   ProtocolType Protocol;
   struct sockaddr_in scktName;