summaryrefslogtreecommitdiff
path: root/src/game/Battlegrounds/BattlegroundQueue.cpp
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-09-18 03:16:32 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-09-18 03:16:32 +0200
commit5ec07ef31ff972dbe3c3be3fdaab4ab8aad9512c (patch)
tree6b2126773aea642162afaeaa6db99103d55184ef /src/game/Battlegrounds/BattlegroundQueue.cpp
parentcf627d832717c990b02da5e5ba06b4f218079321 (diff)
Removed more warnings, mostly related to unused-variable
issue #121 We still have to work on unused-parameter
Diffstat (limited to 'src/game/Battlegrounds/BattlegroundQueue.cpp')
-rw-r--r--src/game/Battlegrounds/BattlegroundQueue.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/Battlegrounds/BattlegroundQueue.cpp b/src/game/Battlegrounds/BattlegroundQueue.cpp
index 6a22a720a8..5bbcffb095 100644
--- a/src/game/Battlegrounds/BattlegroundQueue.cpp
+++ b/src/game/Battlegrounds/BattlegroundQueue.cpp
@@ -989,8 +989,6 @@ bool BGQueueRemoveEvent::Execute(uint64 /*e_time*/, uint32 /*p_time*/)
if (!player)
return true;
- Battleground* bg = sBattlegroundMgr->GetBattleground(m_BgInstanceGUID);
-
// battleground can be already deleted, bg may be NULL!
// check if still in queue for this battleground