fix(Core/WorldSocket): All control paths will return a value (#3117)
This commit is contained in:
@@ -695,7 +695,7 @@ int WorldSocket::ProcessIncoming(WorldPacket* new_pct)
|
|||||||
case CMSG_KEEP_ALIVE:
|
case CMSG_KEEP_ALIVE:
|
||||||
if (m_Session)
|
if (m_Session)
|
||||||
m_Session->ResetTimeOutTime(true);
|
m_Session->ResetTimeOutTime(true);
|
||||||
break;
|
return 0;
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
ACE_GUARD_RETURN (LockType, Guard, m_SessionLock, -1);
|
ACE_GUARD_RETURN (LockType, Guard, m_SessionLock, -1);
|
||||||
|
|||||||
Reference in New Issue
Block a user