summaryrefslogtreecommitdiff
path: root/src/gui/windows/eggselectiondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/eggselectiondialog.cpp')
-rw-r--r--src/gui/windows/eggselectiondialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/windows/eggselectiondialog.cpp b/src/gui/windows/eggselectiondialog.cpp
index 22527e3c6..b4149b6b3 100644
--- a/src/gui/windows/eggselectiondialog.cpp
+++ b/src/gui/windows/eggselectiondialog.cpp
@@ -66,12 +66,11 @@ void EggSelectionDialog::initButtons()
mShopItems->setMergeDuplicates(false);
}
-void EggSelectionDialog::sellAction(const ActionEvent &event)
+void EggSelectionDialog::sellAction(const ActionEvent &event A_UNUSED)
{
if (mAmountItems <= 0 || mAmountItems > mMaxItems)
return;
- const std::string &eventId = event.getId();
const int selectedItem = mShopItemList->getSelected();
ShopItem *const item = mShopItems->at(selectedItem);
if (!item)