From cd59f77c400779cfbf9a7551b59009b6eb3f5920 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 28 Jun 2002 17:59:30 +0000 Subject: [PATCH] Patch from Julian Foad: Remove unused variable. --- src/Autopilot/auto_gui.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Autopilot/auto_gui.cxx b/src/Autopilot/auto_gui.cxx index 20658956f..a91e531a3 100644 --- a/src/Autopilot/auto_gui.cxx +++ b/src/Autopilot/auto_gui.cxx @@ -778,8 +778,6 @@ void NewTgtAirportInit() SG_LOG( SG_AUTOPILOT, SG_INFO, " enter NewTgtAirportInit()" ); sprintf( NewTgtAirportId, "%s", fgGetString("/sim/startup/airport-id") ); SG_LOG( SG_AUTOPILOT, SG_INFO, " NewTgtAirportId " << NewTgtAirportId ); - int len = 150 - - puGetDefaultLabelFont().getStringWidth( NewTgtAirportLabel ) / 2; TgtAptDialog = new puDialogBox (150, 350); { -- 2.39.5