From 7cc864e68935b035d69d68aba2f8ad38ce275d5a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 6 Jul 2013 01:30:12 +0300 Subject: fix code style and some minor issues. --- src/gui/widgets/spellshortcutcontainer.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gui/widgets/spellshortcutcontainer.cpp') diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp index 436f0c583..afd4e14f4 100644 --- a/src/gui/widgets/spellshortcutcontainer.cpp +++ b/src/gui/widgets/spellshortcutcontainer.cpp @@ -47,7 +47,6 @@ SpellShortcutContainer::SpellShortcutContainer(const unsigned number) : ShortcutContainer(), - mSpellMoved(nullptr), mSpellPopup(new SpellPopup), mNumber(number), mForegroundColor2(getThemeColor(Theme::TEXT_OUTLINE)), @@ -239,7 +238,6 @@ void SpellShortcutContainer::mouseReleased(gcn::MouseEvent &event) if (dragDrop.getSource() == DRAGDROP_SOURCE_SPELLS) { const int oldIndex = dragDrop.getTag(); - const int oldItemId = getItemByIndex(oldIndex); const int idx = mNumber * SPELL_SHORTCUT_ITEMS; if (spellManager) { -- cgit v1.2.3-60-g2f50