From: david Date: Fri, 28 Jun 2002 17:59:30 +0000 (+0000) Subject: Patch from Julian Foad: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cd59f77c400779cfbf9a7551b59009b6eb3f5920;p=flightgear.git Patch from Julian Foad: Remove unused variable. --- 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); {