From 11385c53e687b25c25c25b54929ba45d904ac9be Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 24 Jul 2008 16:03:17 +0000 Subject: * minor: eliminate warnings from LindenUDP --- .../Region/ClientStack/LindenUDP/LLClientView.cs | 4 +-- .../ClientStack/LindenUDP/LLPacketHandler.cs | 32 +++++++++++----------- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index efc910a..a7dd35a 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -79,7 +79,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP private bool m_clientBlocked = false; private int m_probesWithNoIngressPackets = 0; - private int m_lastPacketsReceived = 0; + //private int m_lastPacketsReceived = 0; private byte[] ZeroOutBuffer = new byte[4096]; private readonly LLUUID m_agentId; @@ -245,7 +245,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP private SetScriptRunning handlerSetScriptRunning = null; private UpdateVector handlerAutoPilotGo = null; - private TerrainUnacked handlerUnackedTerrain = null; + //private TerrainUnacked handlerUnackedTerrain = null; //** diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index eaff5a4..186dd84 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs @@ -137,7 +137,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP // private Dictionary m_DupeTracker = new Dictionary(); - private uint m_DupeTrackerWindow = 30; + //private uint m_DupeTrackerWindow = 30; // Values for the SimStatsReporter // @@ -450,21 +450,21 @@ namespace OpenSim.Region.ClientStack.LindenUDP // We can't keep an unlimited record of dupes. This will prune the // dictionary by age. // - private void PruneDupeTracker() - { - lock (m_DupeTracker) - { - Dictionary packs = - new Dictionary(m_DupeTracker); - - foreach (uint pack in packs.Keys) - { - if (Util.UnixTimeSinceEpoch() - m_DupeTracker[pack] > - m_DupeTrackerWindow) - m_DupeTracker.Remove(pack); - } - } - } +// private void PruneDupeTracker() +// { +// lock (m_DupeTracker) +// { +// Dictionary packs = +// new Dictionary(m_DupeTracker); +// +// foreach (uint pack in packs.Keys) +// { +// if (Util.UnixTimeSinceEpoch() - m_DupeTracker[pack] > +// m_DupeTrackerWindow) +// m_DupeTracker.Remove(pack); +// } +// } +// } public void InPacket(Packet packet) { -- cgit v1.1