mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[12021] Fix some warnings
Thx to stfx for porting Signed-off-by: stfx <stfx@hotmail.de> Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
e533ff54d5
commit
f777665d48
18 changed files with 35 additions and 57 deletions
|
|
@ -161,8 +161,8 @@ void WorldSession::HandleBattlemasterJoinOpcode( WorldPacket & recv_data )
|
|||
BattleGroundQueue& bgQueue = sBattleGroundMgr.m_BattleGroundQueues[bgQueueTypeId];
|
||||
if (joinAsGroup)
|
||||
{
|
||||
GroupQueueInfo * ginfo;
|
||||
uint32 avgTime;
|
||||
GroupQueueInfo* ginfo = NULL;
|
||||
uint32 avgTime = 0;
|
||||
|
||||
if(err > 0)
|
||||
{
|
||||
|
|
@ -734,7 +734,7 @@ void WorldSession::HandleBattlemasterJoinArena( WorldPacket & recv_data )
|
|||
BattleGroundQueue &bgQueue = sBattleGroundMgr.m_BattleGroundQueues[bgQueueTypeId];
|
||||
if (asGroup)
|
||||
{
|
||||
uint32 avgTime;
|
||||
uint32 avgTime = 0;
|
||||
|
||||
if(err > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue