From: James Turner Date: Fri, 5 Jul 2013 13:36:58 +0000 (+0100) Subject: Couple more unused private vars killed off. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0904017ec56ec98bcb6915306d25b1e1cfbe8c4d;p=flightgear.git Couple more unused private vars killed off. --- diff --git a/src/AIModel/AIBallistic.cxx b/src/AIModel/AIBallistic.cxx index 5a50034b1..6d41d5d50 100644 --- a/src/AIModel/AIBallistic.cxx +++ b/src/AIModel/AIBallistic.cxx @@ -67,8 +67,7 @@ _report_collision(false), _report_impact(false), _external_force(false), _report_expiry(false), -_impact_report_node(fgGetNode("/ai/models/model-impact", true)), -_old_height(0) +_impact_report_node(fgGetNode("/ai/models/model-impact", true)) { no_roll = false; diff --git a/src/AIModel/AIBallistic.hxx b/src/AIModel/AIBallistic.hxx index ca8b92879..e99381712 100644 --- a/src/AIModel/AIBallistic.hxx +++ b/src/AIModel/AIBallistic.hxx @@ -208,9 +208,6 @@ private: //SGPropertyNode_ptr _p_spd_node; double _fuse_range; - double _distance; - double _dt_count; - double _next_run; std::string _submodel; std::string _force_path; @@ -237,7 +234,6 @@ private: double _ground_offset; double _load_offset; - double _old_height; SGVec3d _oldcartoffsetPos; SGVec3d _oldcartPos;