From cd95c14b8041ea851b08282ba865e124de015895 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Wed, 10 Jan 2018 20:25:20 +0100 Subject: [PATCH] Remove unused variable boxAspect from ScaleWidget --- src/Gui/Widgets/ScaleWidget.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Gui/Widgets/ScaleWidget.cpp b/src/Gui/Widgets/ScaleWidget.cpp index cbb3e35..57e0577 100644 --- a/src/Gui/Widgets/ScaleWidget.cpp +++ b/src/Gui/Widgets/ScaleWidget.cpp @@ -130,8 +130,6 @@ void ScaleWidget::onMouseDragged(ofMouseEventArgs & args){ } ofRectangle box = _surfaceManager->getSelectedSurface()->getBoundingBox(); - float boxAspect = box.width / box.height; - ofPolyline newLine = _line; newLine[1].x = args.x; newLine[1].y = args.y;