Core/Misc: Fix static analysis issues

This commit is contained in:
jackpoz
2017-07-15 16:31:07 +02:00
committed by Ovahlord
parent 6be7be2148
commit 05330c2cc8

View File

@@ -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;