diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-11 02:27:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-11 02:38:55 +0300 |
commit | 5d4558bc21607cdb96a988e2867e466ff8b1578f (patch) | |
tree | 614c1f1818146df9ecc7453b780773a081112a92 /src/gui | |
parent | c3ee1ba31f16d8d5d8f0f6e6a68dc1e5b12bad31 (diff) | |
download | mv-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.gz mv-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.bz2 mv-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.xz mv-5d4558bc21607cdb96a988e2867e466ff8b1578f.zip |
Fix compilation warnings with tmwa only.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popups/itempopup.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp index c1d414539..04c786b4a 100644 --- a/src/gui/popups/itempopup.cpp +++ b/src/gui/popups/itempopup.cpp @@ -159,7 +159,7 @@ void ItemPopup::setItem(const ItemInfo &item, const ItemColor color, const bool showImage, int id, - const int *const cards) + const int *const cards A_TMWA_UNUSED) { if (!mIcon || (item.getName() == mLastName && color == mLastColor && id == mLastId)) diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index 02c94931e..70a69d0ed 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -471,7 +471,7 @@ void ItemAmountWindow::showWindow(const Usage usage, Window *const parent, Item *const item, int maxRange, - int tag) + int tag A_TMWA_UNUSED) { if (!item) return; diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index 69f024f50..90fbebebc 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -811,7 +811,7 @@ void NpcDialog::itemIndexRequest(const int size) buildLayout(); } -void NpcDialog::itemCraftRequest(const int size) +void NpcDialog::itemCraftRequest(const int size A_TMWA_UNUSED) { #ifdef EATHENA_SUPPORT mActionState = NPC_ACTION_INPUT; @@ -1390,9 +1390,9 @@ std::string NpcDialog::complexItemToStr(const ComplexItem *const item) return str; } -void NpcDialog::addCraftItem(Item *const item, - const int amount, - const int slot) +void NpcDialog::addCraftItem(Item *const item A_TMWA_UNUSED, + const int amount A_TMWA_UNUSED, + const int slot A_TMWA_UNUSED) { if (mInputState != NPC_INPUT_ITEM_CRAFT) return; |