From: James Turner Date: Sat, 26 Mar 2016 20:24:57 +0000 (+0000) Subject: Fix Clang unused member warnings in JSBsim. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e8398d5ceeb73e96cd70f958ad62dad337f8974d;p=flightgear.git Fix Clang unused member warnings in JSBsim. --- diff --git a/src/FDM/JSBSim/JSBSim.hxx b/src/FDM/JSBSim/JSBSim.hxx index d6c3c6ab9..54799158e 100644 --- a/src/FDM/JSBSim/JSBSim.hxx +++ b/src/FDM/JSBSim/JSBSim.hxx @@ -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; diff --git a/src/FDM/JSBSim/input_output/FGfdmSocket.h b/src/FDM/JSBSim/input_output/FGfdmSocket.h index 53a1dc641..46ba7d9ce 100644 --- a/src/FDM/JSBSim/input_output/FGfdmSocket.h +++ b/src/FDM/JSBSim/input_output/FGfdmSocket.h @@ -114,7 +114,7 @@ public: private: int sckt; int sckt_in; - int udpsckt; + //int udpsckt; DirectionType Direction; ProtocolType Protocol; struct sockaddr_in scktName;