aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Battlegrounds/BattlegroundMgr.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2017-07-15 16:31:07 +0200
committervincent-michael <vincent_michael@gmx.de>2017-07-16 20:50:43 +0200
commit74e4f73fcb7a2e14e9b2500f1630180defb0cfe9 (patch)
treed4b79ced584eaa8e0bc9c86d26f744ea02d5960d /src/server/game/Battlegrounds/BattlegroundMgr.cpp
parentb81c2e7971627983c595a9ea915594933104b8b9 (diff)
Core/Misc: Fix static analysis issues
(cherry picked from commit 7d3291e8044841b085ca5b0987bdf25269881863) # Conflicts: # src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp
Diffstat (limited to 'src/server/game/Battlegrounds/BattlegroundMgr.cpp')
-rw-r--r--src/server/game/Battlegrounds/BattlegroundMgr.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/BattlegroundMgr.cpp b/src/server/game/Battlegrounds/BattlegroundMgr.cpp
index c779adce640..a2d5c06402a 100644
--- a/src/server/game/Battlegrounds/BattlegroundMgr.cpp
+++ b/src/server/game/Battlegrounds/BattlegroundMgr.cpp
@@ -875,7 +875,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;