Core/Misc: Fix static analysis issues
This commit is contained in:
1 parent
6be7be2148
commit
05330c2cc8
1 file changed
-1
@@ -1217,7 +1217,6 @@ BattlegroundTypeId BattlegroundMgr::GetRandomBG(BattlegroundTypeId bgTypeId)
|
||||
{
|
||||
if (BattlegroundTemplate const* bgTemplate = GetBattlegroundTemplateByTypeId(bgTypeId))
|
||||
{
|
||||
BattlegroundSelectionWeightMap selectionWeights;
|
||||
std::vector<BattlegroundTypeId> ids;
|
||||
ids.reserve(16);
|
||||
std::vector<double> weights;
|
||||
|
||||
Reference in new issue
Block a user