fix(Core/WorldSocket): All control paths will return a value (#3117)

This commit is contained in:
gengarshadowball
2020-06-13 13:05:51 +01:00
committed by GitHub
parent 742471836b
commit 7b7b62efe6

View File

@@ -695,7 +695,7 @@ int WorldSocket::ProcessIncoming(WorldPacket* new_pct)
case CMSG_KEEP_ALIVE:
if (m_Session)
m_Session->ResetTimeOutTime(true);
break;
return 0;
default:
{
ACE_GUARD_RETURN (LockType, Guard, m_SessionLock, -1);