summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-11 02:27:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-11 02:38:55 +0300
commit5d4558bc21607cdb96a988e2867e466ff8b1578f (patch)
tree614c1f1818146df9ecc7453b780773a081112a92 /src/gui/windows/npcdialog.cpp
parentc3ee1ba31f16d8d5d8f0f6e6a68dc1e5b12bad31 (diff)
downloadmanaplus-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.gz
manaplus-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.bz2
manaplus-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.xz
manaplus-5d4558bc21607cdb96a988e2867e466ff8b1578f.zip
Fix compilation warnings with tmwa only.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp8
1 files changed, 4 insertions, 4 deletions
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;