1
0
Fork 0

Fix warning about an unused variable

This commit is contained in:
Florent Rougon 2022-11-08 01:30:50 +01:00
parent d2f4807fa2
commit 0a74d6f8f3

View file

@ -800,7 +800,6 @@ void NavRadioTests::testGlideslopeLongDistance()
CPPUNIT_ASSERT(node->getStringValue("frequencies/selected-mhz-fmt") == "109.50"); CPPUNIT_ASSERT(node->getStringValue("frequencies/selected-mhz-fmt") == "109.50");
CPPUNIT_ASSERT_DOUBLES_EQUAL(gs->glideSlopeAngleDeg(), 3.0, 0.001); CPPUNIT_ASSERT_DOUBLES_EQUAL(gs->glideSlopeAngleDeg(), 3.0, 0.001);
double gsAngleRad = gs->glideSlopeAngleDeg() * SG_DEGREES_TO_RADIANS;
// standard approach (per charts) // standard approach (per charts)
SGGeod p = SGGeodesy::direct(gs->geod(), 90, 7.5 * SG_NM_TO_METER); SGGeod p = SGGeodesy::direct(gs->geod(), 90, 7.5 * SG_NM_TO_METER);