Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-21 23:08:54 +02:00
parent a136403dee
commit 572f7bbd1d
20 changed files with 37 additions and 31 deletions

View File

@@ -101,6 +101,10 @@ class ReputationMgr
ReputationRank GetRank(FactionEntry const* factionEntry) const;
ReputationRank GetBaseRank(FactionEntry const* factionEntry) const;
uint32 GetReputationRankStrIndex(FactionEntry const* factionEntry)
{
return ReputationRankStrIndex[GetRank(factionEntry)];
};
ReputationRank const* GetForcedRankIfAny(FactionTemplateEntry const* factionTemplateEntry) const
{