From 13ca85f55e9036542c31caf2429a05b77bdc10da Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Sep 2014 22:45:19 +0300 Subject: Fix compilation warnings. --- src/gui/windows/shopselldialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/windows/shopselldialog.cpp') 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())) -- cgit v1.2.3-60-g2f50