From f33d26d51ce24468ddf0de42686c87f415b85669 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Fri, 26 Nov 2010 16:14:43 +0100 Subject: [PATCH] Warning fix: unused variables --- src/Instrumentation/HUD/HUD_runway.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Instrumentation/HUD/HUD_runway.cxx b/src/Instrumentation/HUD/HUD_runway.cxx index ae6ebba65..6f05a706a 100644 --- a/src/Instrumentation/HUD/HUD_runway.cxx +++ b/src/Instrumentation/HUD/HUD_runway.cxx @@ -78,12 +78,12 @@ void HUD::Runway::draw() float modelView[4][4], projMat[4][4]; bool anyLines; //Get the current view - FGViewer* curr_view = globals->get_viewmgr()->get_current_view(); - int curr_view_id = globals->get_viewmgr()->get_current(); - double gpo = curr_view->getGoalPitchOffset_deg(); - double gho = curr_view->getGoalHeadingOffset_deg(); - double po = curr_view->getPitchOffset_deg(); - double ho = curr_view->getHeadingOffset_deg(); +// FGViewer* curr_view = globals->get_viewmgr()->get_current_view(); +// int curr_view_id = globals->get_viewmgr()->get_current(); +// double gpo = curr_view->getGoalPitchOffset_deg(); +// double gho = curr_view->getGoalHeadingOffset_deg(); +// double po = curr_view->getPitchOffset_deg(); +// double ho = curr_view->getHeadingOffset_deg(); FGViewer* cockpitView = globals->get_viewmgr()->get_view(0);