CXX rsa.o
CXX actions.o
CXX baseevents.o
CXX beds.o
CXX chat.o
CXX combat.o
CXX condition.o
combat.cpp: In static member function ‘static ReturnValue Combat::canDoCombat(const Creature*, const Creature*, bool)’:
combat.cpp:280:19: warning: unused variable ‘targetPlayer’ [-Wunused-variable]
if(const Player* targetPlayer = target->getPlayer())
^~~~~~~~~~~~
combat.cpp: In static member function ‘static void Combat::combatTileEffects(const SpectatorVec&, Creature*, Tile*, const CombatParams&)’:
combat.cpp:690:9: warning: unused variable ‘pzLock’ [-Wunused-variable]
bool pzLock = false;
^~~~~~
combat.cpp: In member function ‘void Combat::doCombat(Creature*, const Position&) const’:
combat.cpp:881:12: warning: unused variable ‘newMinChange’ [-Wunused-variable]
int32_t newMinChange = minChange;
^~~~~~~~~~~~
combat.cpp:882:12: warning: unused variable ‘newMaxChange’ [-Wunused-variable]
int32_t newMaxChange = maxChange;
^~~~~~~~~~~~
CXX configmanager.o
CXX connection.o
CXX container.o
CXX creature.o
CXX creatureevent.o
CXX cylinder.o
CXX database.o
CXX databasemanager.o
CXX databasemysql.o
CXX depot.o
CXX dispatcher.o
CXX exception.o
CXX fileloader.o
CXX game.o
game.cpp: In member function ‘bool Game::playerUseItemEx(uint32_t, const Position&, int16_t, uint16_t, const Position&, int16_t, uint16_t, bool)’:
game.cpp:2635:20: warning: unused variable ‘task’ [-Wunused-variable]
SchedulerTask* task = createSchedulerTask(std::max((int32_t)SCHEDULER_MINTICKS, player->getStepDuration()),
^~~~
game.cpp:2654:18: warning: unused variable ‘task’ [-Wunused-variable]
SchedulerTask* task = createSchedulerTask(player->getNextActionTime(),
^~~~
game.cpp: In member function ‘bool Game::playerUseItem(uint32_t, const Position&, int16_t, uint8_t, uint16_t, bool)’:
game.cpp:2728:18: warning: unused variable ‘task’ [-Wunused-variable]
SchedulerTask* task = createSchedulerTask(player->getNextActionTime(),
^~~~
game.cpp: In member function ‘bool Game::combatChangeMana(Creature*, Creature*, int32_t, CombatType_t, bool)’:
game.cpp:4787:24: warning: unused variable ‘list’ [-Wunused-variable]
const SpectatorVec& list = getSpectators(targetPos);
^~~~
game.cpp: In member function ‘void Game::showHotkeyUseMessage(Player*, Item*)’:
game.cpp:6427:11: warning: unused variable ‘count’ [-Wunused-variable]
uint32_t count = player->__getItemTypeCount(item->getID(), subType, false);
^~~~~
game.cpp: In member function ‘bool Game::playerSpeakToChannel(Player*, MessageClasses, const string&, uint16_t, uint32_t)’:
game.cpp:4121:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
if(player->hasFlag(PlayerFlag_CanTalkRedChannelAnonymous))
^~
game.cpp:4130:3: note: here
case MSG_GAMEMASTER_CHANNEL:
^~~~
game.cpp: In member function ‘bool Game::playerViolationWindow(uint32_t, std::__cxx11::string, uint8_t, ViolationAction_t, std::__cxx11::string, std::__cxx11::string, uint32_t, bool)’:
game.cpp:5340:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
action = ACTION_BANISHMENT;
~~~~~~~^~~~~~~~~~~~~~~~~~~
game.cpp:5343:3: note: here
case ACTION_BANISHMENT:
^~~~
CXX globalevent.o
CXX group.o
CXX gui.o
CXX house.o
CXX housetile.o
CXX inputbox.o
CXX ioban.o
CXX ioguild.o
CXX iologindata.o
CXX iomap.o
CXX iomapserialize.o
CXX item.o
item.cpp: In member function ‘virtual Attr_ReadValue Item::readAttr(AttrTypes_t, PropStream&)’:
item.cpp:657:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
break;
^
item.cpp:660:3: note: here
default:
^~~~~~~
CXX itemattributes.o
CXX items.o
CXX luascript.o
CXX mailbox.o
CXX map.o
CXX monster.o
CXX monsters.o
CXX movement.o
CXX networkmessage.o
CXX npc.o
CXX otpch.o
CXX otserv.o
CXX outfit.o
CXX outputmessage.o
CXX playerbox.o
CXX player.o
player.cpp: In member function ‘ItemVector Player::getWeapons() const’:
player.cpp:340:20: warning: enum constant in boolean context [-Wint-in-bool-context]
if(WEAPON_SHIELD)
^
player.cpp:343:18: warning: enum constant in boolean context [-Wint-in-bool-context]
if(WEAPON_DIST)
^
player.cpp: In member function ‘virtual void Player::postAddNotification(Creature*, Thing*, const Cylinder*, int32_t, CylinderLink_t)’:
player.cpp:3512:7: warning: variable ‘requireListUpdate’ set but not used [-Wunused-but-set-variable]
bool requireListUpdate = true;
^~~~~~~~~~~~~~~~~
player.cpp: In member function ‘virtual void Player::postRemoveNotification(Creature*, Thing*, const Cylinder*, int32_t, bool, CylinderLink_t)’:
player.cpp:3557:7: warning: variable ‘requireListUpdate’ set but not used [-Wunused-but-set-variable]
bool requireListUpdate = true;
^~~~~~~~~~~~~~~~~
player.cpp: In member function ‘virtual void Player::onTargetGain(Creature*, int32_t)’:
player.cpp:4066:10: warning: variable ‘tmpPlayer’ set but not used [-Wunused-but-set-variable]
Player* tmpPlayer = NULL;
^~~~~~~~~
player.cpp: In member function ‘bool Player::addUnjustifiedKill(const Player*, bool)’:
player.cpp:4514:27: warning: unused variable ‘tc’ [-Wunused-variable]
uint32_t fc = 0, sc = 0, tc = dateList.size();
^~
CXX position.o
CXX protocol.o
CXX protocolgame.o
CXX protocollogin.o
CXX raids.o
CXX scheduler.o
CXX scriptmanager.o
CXX server.o
CXX spawn.o
CXX spells.o
CXX status.o
CXX talkaction.o
CXX teleport.o
CXX textlogger.o
CXX thing.o
CXX tile.o
tile.cpp: In member function ‘virtual ReturnValue Tile::__queryAdd(int32_t, const Thing*, uint32_t, uint32_t, Creature*) const’:
tile.cpp:528:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(creature->canWalkthrough(tmp))
^~
tile.cpp:530:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
continue;
^~~~~~~~
CXX tools.o
CXX trashholder.o
CXX waitlist.o
CXX weapons.o
weapons.cpp: In member function ‘virtual bool Weapon::configureEvent(xmlNodePtr)’:
weapons.cpp:222:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(readXMLString(p, "enabled", strValue))
^~
weapons.cpp:225:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if(readXMLInteger(p, "range", intValue)){
^~
weapons.cpp: In member function ‘bool Weapons::loadDefaults()’:
weapons.cpp:85:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if(it->ammoType != AMMO_NONE)
^~
weapons.cpp:88:5: note: here
case WEAPON_AMMO:
^~~~
CXX vocation.o
CXXLD theotxserver