diff options
Diffstat (limited to 'src/gui/windows/shopselldialog.cpp')
-rw-r--r-- | src/gui/windows/shopselldialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/windows/shopselldialog.cpp b/src/gui/windows/shopselldialog.cpp index 08abd6047..a48a83b75 100644 --- a/src/gui/windows/shopselldialog.cpp +++ b/src/gui/windows/shopselldialog.cpp @@ -59,12 +59,11 @@ ShopSellDialog::ShopSellDialog(const std::string &nick) : { } -void ShopSellDialog::sellAction(const ActionEvent &event) +void ShopSellDialog::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 || PlayerInfo::isItemProtected(item->getId())) |