From: curt Date: Wed, 25 Sep 2002 22:05:14 +0000 (+0000) Subject: Fixed a compiler warning. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=02d1d81348a4e2603d9f34cda63f91fd316d95d4;p=flightgear.git Fixed a compiler warning. --- diff --git a/src/Cockpit/kt_70.cxx b/src/Cockpit/kt_70.cxx index 00ff0c5be..5e0a7428d 100644 --- a/src/Cockpit/kt_70.cxx +++ b/src/Cockpit/kt_70.cxx @@ -138,11 +138,11 @@ void FGKT_70::unbind () { // Update the various nav values based on position and valid tuned in navs void FGKT_70::update( double dt ) { - double acft_lon = lon_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; - double acft_lat = lat_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; - double acft_elev = alt_node->getDoubleValue() * SG_FEET_TO_METER; - - Point3D aircraft = sgGeodToCart( Point3D( acft_lon, acft_lat, acft_elev ) ); + // double acft_lon = lon_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; + // double acft_lat = lat_node->getDoubleValue() * SGD_DEGREES_TO_RADIANS; + // double acft_elev = alt_node->getDoubleValue() * SG_FEET_TO_METER; + // Point3D aircraft = sgGeodToCart( Point3D( acft_lon, acft_lat, + // acft_elev ) ); // sanity checks if ( digit1 < 0 ) { digit1 = 0; }