From b491e589fd9f22da72eefd7b71a38fe879e24555 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 8 Apr 2020 17:29:47 -0300 Subject: [PATCH] Remove unused variable --- src/app/ui/editor/standby_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ui/editor/standby_state.cpp b/src/app/ui/editor/standby_state.cpp index eedbe5568..1e45bc101 100644 --- a/src/app/ui/editor/standby_state.cpp +++ b/src/app/ui/editor/standby_state.cpp @@ -396,7 +396,7 @@ bool StandbyState::onDoubleClick(Editor* editor, MouseMessage* msg) if (ink->isSelection() && Preferences::instance().selection.doubleclickSelectTile()) { // Drop pixels if we are in moving pixels state - if (MovingPixelsState* movingPixels = dynamic_cast(editor->getState().get())) + if (dynamic_cast(editor->getState().get())) editor->backToPreviousState(); // Start a tool-loop selecting tiles.