diff options
-rw-r--r-- | src/account-server/accounthandler.cpp | 2 | ||||
-rw-r--r-- | src/game-server/being.cpp | 2 | ||||
-rw-r--r-- | src/game-server/commandhandler.cpp | 6 | ||||
-rw-r--r-- | src/game-server/inventory.h | 6 | ||||
-rw-r--r-- | src/game-server/item.cpp | 4 | ||||
-rw-r--r-- | src/game-server/monster.h | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp index 9978956f..b0ac4d57 100644 --- a/src/account-server/accounthandler.cpp +++ b/src/account-server/accounthandler.cpp @@ -467,7 +467,7 @@ void AccountHandler::handleReconnectMessage(AccountClient &client, mTokenCollector.addPendingClient(magic_token, &client); } -static bool checkCaptcha(AccountClient &client, const std::string &captcha) +static bool checkCaptcha(AccountClient &, const std::string & /* captcha */) { // TODO return true; diff --git a/src/game-server/being.cpp b/src/game-server/being.cpp index 408b8fc0..3fc0bab1 100644 --- a/src/game-server/being.cpp +++ b/src/game-server/being.cpp @@ -69,7 +69,7 @@ Being::Being(ThingType type): #endif } -int Being::damage(Actor *source, const Damage &damage) +int Being::damage(Actor * /* source */, const Damage &damage) { if (mAction == DEAD) return 0; diff --git a/src/game-server/commandhandler.cpp b/src/game-server/commandhandler.cpp index 1427048a..90d242da 100644 --- a/src/game-server/commandhandler.cpp +++ b/src/game-server/commandhandler.cpp @@ -1129,7 +1129,7 @@ static void handleRights(Character *player, std::string &) say("Your rights level is: " + playerRights(player), player); } -static void handleHistory(Character *player, std::string &args) +static void handleHistory(Character *, std::string &) { // TODO: Get args number of transactions and show them to the player } @@ -1197,7 +1197,7 @@ static void handleMute(Character *player, std::string &args) accountHandler->sendTransaction(player->getDatabaseID(), TRANS_CMD_MUTE, msg.str()); } -static void handleDie(Character *player, std::string &args) +static void handleDie(Character *player, std::string &) { player->setAttribute(ATTR_HP, 0); say("You've killed yourself.", player); @@ -1303,7 +1303,7 @@ static void handleLogsay(Character *player, std::string &msg) say("Message logged", player); } -static void handleKillMonsters(Character *player, std::string &args) +static void handleKillMonsters(Character *player, std::string &) { const MapComposite *map = player->getMap(); int count = 0; diff --git a/src/game-server/inventory.h b/src/game-server/inventory.h index 4593add1..3dacb919 100644 --- a/src/game-server/inventory.h +++ b/src/game-server/inventory.h @@ -143,7 +143,7 @@ class Inventory * the willing-to-be equipment slot. * @todo */ - bool hasInventoryEnoughSpace(unsigned int equipmentSlot) + bool hasInventoryEnoughSpace(unsigned int /* equipmentSlot */) { return true; } /** @@ -151,14 +151,14 @@ class Inventory * This is especially useful for scripted equipment. * @todo */ - bool testUnequipScriptRequirements(unsigned int equipementSlot) + bool testUnequipScriptRequirements(unsigned int /* equipementSlot */) { return true; } /** * Test the items equipment for scripted requirements. * @todo */ - bool testEquipScriptRequirements(unsigned int itemId) + bool testEquipScriptRequirements(unsigned int /* itemId */) { return true; } /** diff --git a/src/game-server/item.cpp b/src/game-server/item.cpp index 888c90ad..03aeebcb 100644 --- a/src/game-server/item.cpp +++ b/src/game-server/item.cpp @@ -47,13 +47,13 @@ void ItemEffectAttrMod::dispell(Being *itemUser) mId, !mDuration); } -bool ItemEffectAutoAttack::apply(Being *itemUser) +bool ItemEffectAutoAttack::apply(Being * /* itemUser */) { // TODO - STUB return false; } -void ItemEffectAutoAttack::dispell(Being *itemUser) +void ItemEffectAutoAttack::dispell(Being * /* itemUser */) { // TODO } diff --git a/src/game-server/monster.h b/src/game-server/monster.h index 0ece89ab..e53903f9 100644 --- a/src/game-server/monster.h +++ b/src/game-server/monster.h @@ -106,7 +106,7 @@ class MonsterClass void setGender(BeingGender gender) { mGender = gender; } - const BeingGender getGender() const + BeingGender getGender() const { return mGender; } /** |