From 57f51e65e2530a8c63ca92c27f06c0273d3f3200 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 14 Nov 2016 12:05:47 -0300 Subject: [PATCH] Fix unused variable warning --- 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 d5b5f84ab..7ca988399 100644 --- a/src/app/ui/editor/standby_state.cpp +++ b/src/app/ui/editor/standby_state.cpp @@ -226,7 +226,7 @@ bool StandbyState::onMouseDown(Editor* editor, MouseMessage* msg) MovingCelState* newState = new MovingCelState(editor, msg); editor->setState(EditorStatePtr(newState)); } - catch (const LockedDocumentException& ex) { + catch (const LockedDocumentException&) { // TODO break the background task that is locking this sprite StatusBar::instance()->showTip(1000, "Sprite is used by a backup/data recovery task");