Remove unused variable

This commit is contained in:
David Capello 2020-04-08 17:29:47 -03:00
parent be79b519ad
commit b491e589fd

View File

@ -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<MovingPixelsState*>(editor->getState().get()))
if (dynamic_cast<MovingPixelsState*>(editor->getState().get()))
editor->backToPreviousState();
// Start a tool-loop selecting tiles.