diff options
author | Justin Clarke Casey | 2008-07-24 16:03:17 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-07-24 16:03:17 +0000 |
commit | 11385c53e687b25c25c25b54929ba45d904ac9be (patch) | |
tree | 3c6520d926602b7466e28c3bddbba55915ce55ee /OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | |
parent | * Separate out OGS1 calls used between services (rather than from region to s... (diff) | |
download | opensim-SC_OLD-11385c53e687b25c25c25b54929ba45d904ac9be.zip opensim-SC_OLD-11385c53e687b25c25c25b54929ba45d904ac9be.tar.gz opensim-SC_OLD-11385c53e687b25c25c25b54929ba45d904ac9be.tar.bz2 opensim-SC_OLD-11385c53e687b25c25c25b54929ba45d904ac9be.tar.xz |
* minor: eliminate warnings from LindenUDP
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 32 |
1 files changed, 16 insertions, 16 deletions
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 | |||
137 | // | 137 | // |
138 | private Dictionary<uint, int> m_DupeTracker = | 138 | private Dictionary<uint, int> m_DupeTracker = |
139 | new Dictionary<uint, int>(); | 139 | new Dictionary<uint, int>(); |
140 | private uint m_DupeTrackerWindow = 30; | 140 | //private uint m_DupeTrackerWindow = 30; |
141 | 141 | ||
142 | // Values for the SimStatsReporter | 142 | // Values for the SimStatsReporter |
143 | // | 143 | // |
@@ -450,21 +450,21 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
450 | // We can't keep an unlimited record of dupes. This will prune the | 450 | // We can't keep an unlimited record of dupes. This will prune the |
451 | // dictionary by age. | 451 | // dictionary by age. |
452 | // | 452 | // |
453 | private void PruneDupeTracker() | 453 | // private void PruneDupeTracker() |
454 | { | 454 | // { |
455 | lock (m_DupeTracker) | 455 | // lock (m_DupeTracker) |
456 | { | 456 | // { |
457 | Dictionary<uint, int> packs = | 457 | // Dictionary<uint, int> packs = |
458 | new Dictionary<uint, int>(m_DupeTracker); | 458 | // new Dictionary<uint, int>(m_DupeTracker); |
459 | 459 | // | |
460 | foreach (uint pack in packs.Keys) | 460 | // foreach (uint pack in packs.Keys) |
461 | { | 461 | // { |
462 | if (Util.UnixTimeSinceEpoch() - m_DupeTracker[pack] > | 462 | // if (Util.UnixTimeSinceEpoch() - m_DupeTracker[pack] > |
463 | m_DupeTrackerWindow) | 463 | // m_DupeTrackerWindow) |
464 | m_DupeTracker.Remove(pack); | 464 | // m_DupeTracker.Remove(pack); |
465 | } | 465 | // } |
466 | } | 466 | // } |
467 | } | 467 | // } |
468 | 468 | ||
469 | public void InPacket(Packet packet) | 469 | public void InPacket(Packet packet) |
470 | { | 470 | { |