AlexBexi1833 Posted October 22, 2016 Report Share Posted October 22, 2016 I get this warnings and I don't know if I can ignore them or not. /home/wow/TrinityCore/src/server/game/Battlegrounds/Arena.cpp: In member function 'virtual void Arena::EndBattleground(uint32)': /home/wow/TrinityCore/src/server/game/Battlegrounds/Arena.cpp:147:104: warning: enumeral and non -enumeral type in conditional expression ArenaTeam* winnerArenaTeam = sArenaTeamMgr->GetArenaTeamById(GetArenaTeamIdForTeam(winn er == 0 ? ALLIANCE : winner)); ^ /home/wow/TrinityCore/src/server/game/Battlegrounds/Arena.cpp:148:103: warning: enumeral and non -enumeral type in conditional expression ArenaTeam* loserArenaTeam = sArenaTeamMgr->GetArenaTeamById(GetArenaTeamIdForTeam(winne r == 0 ? HORDE : GetOtherTeam(winner))); ^ /home/wow/TrinityCore/src/server/game/Battlegrounds/Arena.cpp:155:74: warning: enumeral and non- enumeral type in conditional expression loserMatchmakerRating = GetArenaMatchmakerRating(winner == 0 ? HORDE : GetOtherTeam (winner)); ^ /home/wow/TrinityCore/src/server/game/Battlegrounds/Arena.cpp:157:75: warning: enumeral and non- enumeral type in conditional expression winnerMatchmakerRating = GetArenaMatchmakerRating(winner == 0 ? ALLIANCE : winner); ^ /home/wow/TrinityCore/src/server/game/DataStores/M2Stores.cpp: In function 'bool readCamera(const M2Camera*, uint32, const M2Header*, const CinematicCameraEntry*)': /home/wow/TrinityCore/src/server/game/DataStores/M2Stores.cpp:154:23: warning: variable 'z' set but not used [-Wunused-but-set-variable] float z = lastTarget.locations.z; ^ Please Help. King Regards, AlexBexi Link to comment Share on other sites More sharing options...
Aokromes Posted March 17, 2017 Report Share Posted March 17, 2017 --- Canned message start --- This thread does not belong in this section in its current form, and should be reposted in the tracker. Please read this thread to make your future help requests more effective. Read This too Search on tracker before posting any bug report. --- Canned message end --- Link to comment Share on other sites More sharing options...
Recommended Posts