Remove null checks at top of LLUDPServer.ProcessInPacket(). Neither packet nor client are ever null.

0.7.3-extended
Justin Clark-Casey (justincc) 2012-06-08 01:51:28 +01:00
parent 4eda679e12
commit 332f8b6623
1 changed files with 1 additions and 8 deletions

View File

@ -1391,13 +1391,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
Packet packet = incomingPacket.Packet;
LLClientView client = incomingPacket.Client;
// Sanity check
if (packet == null || client == null)
{
m_log.WarnFormat("[LLUDPSERVER]: Processing a packet with incomplete state. Packet=\"{0}\", Client=\"{1}\"",
packet, client);
}
if (client.IsActive)
{
m_currentIncomingClient = client;