Core: Fix some warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-09-06 15:23:08 +02:00
parent 588092960b
commit cdef980af4
10 changed files with 21 additions and 22 deletions
+1 -2
View File
@@ -2135,7 +2135,6 @@ LfgReward const* LFGMgr::GetRandomDungeonReward(uint32 dungeon, uint8 level)
{
LfgReward const* rew = NULL;
LfgRewardMapBounds bounds = m_RewardMap.equal_range(dungeon & 0x00FFFFFF);
uint8 index = 0;
for (LfgRewardMap::const_iterator itr = bounds.first; itr != bounds.second; ++itr)
{
rew = itr->second;
@@ -2199,4 +2198,4 @@ std::string LFGMgr::ConcatenateGuids(LfgGuidList check)
o << "|" << *it;
guidSet.clear();
return o.str();
}
}
+1 -1
View File
@@ -275,7 +275,7 @@ class LFGMgr
void LoadDungeonEncounters();
void LoadRewards();
void RewardDungeonDoneFor(const uint32 dungeonId, Player* player);
const uint32 GetDungeonIdForAchievement(uint32 achievementId)
uint32 GetDungeonIdForAchievement(uint32 achievementId)
{
std::map<uint32, uint32>::iterator itr = m_EncountersByAchievement.find(achievementId);
if (itr != m_EncountersByAchievement.end())