From 2e2d490c78ee606aaf80d67ec92e9616f8ad6122 Mon Sep 17 00:00:00 2001 From: Jan-Peter Nilsson Date: Fri, 1 Apr 2011 23:25:22 +0200 Subject: [PATCH] Remove unused variable (compiler warning) --- apps/openmw/mwrender/mwscene.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/openmw/mwrender/mwscene.cpp b/apps/openmw/mwrender/mwscene.cpp index 6fab00850..5117f7eb8 100644 --- a/apps/openmw/mwrender/mwscene.cpp +++ b/apps/openmw/mwrender/mwscene.cpp @@ -63,7 +63,6 @@ MWScene::~MWScene() std::pair MWScene::getFacedHandle (MWWorld::World& world) { std::string handle = ""; - float distance = -1; //get a ray pointing to the center of the viewport Ray centerRay = getCamera()->getCameraToViewportRay(