aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-07-24 16:03:17 +0000
committerJustin Clarke Casey2008-07-24 16:03:17 +0000
commit11385c53e687b25c25c25b54929ba45d904ac9be (patch)
tree3c6520d926602b7466e28c3bddbba55915ce55ee /OpenSim/Region/ClientStack
parent* Separate out OGS1 calls used between services (rather than from region to s... (diff)
downloadopensim-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')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs32
2 files changed, 18 insertions, 18 deletions
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
79 private bool m_clientBlocked = false; 79 private bool m_clientBlocked = false;
80 80
81 private int m_probesWithNoIngressPackets = 0; 81 private int m_probesWithNoIngressPackets = 0;
82 private int m_lastPacketsReceived = 0; 82 //private int m_lastPacketsReceived = 0;
83 private byte[] ZeroOutBuffer = new byte[4096]; 83 private byte[] ZeroOutBuffer = new byte[4096];
84 84
85 private readonly LLUUID m_agentId; 85 private readonly LLUUID m_agentId;
@@ -245,7 +245,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
245 private SetScriptRunning handlerSetScriptRunning = null; 245 private SetScriptRunning handlerSetScriptRunning = null;
246 private UpdateVector handlerAutoPilotGo = null; 246 private UpdateVector handlerAutoPilotGo = null;
247 247
248 private TerrainUnacked handlerUnackedTerrain = null; 248 //private TerrainUnacked handlerUnackedTerrain = null;
249 249
250 //** 250 //**
251 251
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 {