From 02d1d81348a4e2603d9f34cda63f91fd316d95d4 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 25 Sep 2002 22:05:14 +0000 Subject: [PATCH] Fixed a compiler warning. --- src/Cockpit/kt_70.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; } -- 2.39.5