From bf69781ae0f0d0d2089fb50c757ff64617111209 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 18 Jan 2016 20:05:44 -0500 Subject: [PATCH] Remove dead code. --- src/Viewer/viewmgr.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Viewer/viewmgr.cxx b/src/Viewer/viewmgr.cxx index a9ec45933..85aef6cc6 100644 --- a/src/Viewer/viewmgr.cxx +++ b/src/Viewer/viewmgr.cxx @@ -226,10 +226,6 @@ FGViewMgr::update (double dt) flightgear::View* currentView = get_current_view(); if (!currentView) return; - SGPropertyNode *n = config_list[current]; - SGPropertyNode *config = n->getChild("config", 0, true); - double lon_deg, lat_deg, alt_ft, roll_deg, pitch_deg, heading_deg; - // Set up view location and orientation currentView->updateData(); -- 2.39.5