Core/Misc: Fix static analysis issues

This commit is contained in:
jackpoz authored and Ovahlord committed 2020-07-22 14:40:00 +02:00
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;