* minor: eliminate warnings from LindenUDP
parent
77297ed6cc
commit
11385c53e6
|
@ -79,7 +79,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
private bool m_clientBlocked = false;
|
private bool m_clientBlocked = false;
|
||||||
|
|
||||||
private int m_probesWithNoIngressPackets = 0;
|
private int m_probesWithNoIngressPackets = 0;
|
||||||
private int m_lastPacketsReceived = 0;
|
//private int m_lastPacketsReceived = 0;
|
||||||
private byte[] ZeroOutBuffer = new byte[4096];
|
private byte[] ZeroOutBuffer = new byte[4096];
|
||||||
|
|
||||||
private readonly LLUUID m_agentId;
|
private readonly LLUUID m_agentId;
|
||||||
|
@ -245,7 +245,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
private SetScriptRunning handlerSetScriptRunning = null;
|
private SetScriptRunning handlerSetScriptRunning = null;
|
||||||
private UpdateVector handlerAutoPilotGo = null;
|
private UpdateVector handlerAutoPilotGo = null;
|
||||||
|
|
||||||
private TerrainUnacked handlerUnackedTerrain = null;
|
//private TerrainUnacked handlerUnackedTerrain = null;
|
||||||
|
|
||||||
//**
|
//**
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
//
|
//
|
||||||
private Dictionary<uint, int> m_DupeTracker =
|
private Dictionary<uint, int> m_DupeTracker =
|
||||||
new Dictionary<uint, int>();
|
new Dictionary<uint, int>();
|
||||||
private uint m_DupeTrackerWindow = 30;
|
//private uint m_DupeTrackerWindow = 30;
|
||||||
|
|
||||||
// Values for the SimStatsReporter
|
// 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
|
// We can't keep an unlimited record of dupes. This will prune the
|
||||||
// dictionary by age.
|
// dictionary by age.
|
||||||
//
|
//
|
||||||
private void PruneDupeTracker()
|
// private void PruneDupeTracker()
|
||||||
{
|
// {
|
||||||
lock (m_DupeTracker)
|
// lock (m_DupeTracker)
|
||||||
{
|
// {
|
||||||
Dictionary<uint, int> packs =
|
// Dictionary<uint, int> packs =
|
||||||
new Dictionary<uint, int>(m_DupeTracker);
|
// new Dictionary<uint, int>(m_DupeTracker);
|
||||||
|
//
|
||||||
foreach (uint pack in packs.Keys)
|
// foreach (uint pack in packs.Keys)
|
||||||
{
|
// {
|
||||||
if (Util.UnixTimeSinceEpoch() - m_DupeTracker[pack] >
|
// if (Util.UnixTimeSinceEpoch() - m_DupeTracker[pack] >
|
||||||
m_DupeTrackerWindow)
|
// m_DupeTrackerWindow)
|
||||||
m_DupeTracker.Remove(pack);
|
// m_DupeTracker.Remove(pack);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
public void InPacket(Packet packet)
|
public void InPacket(Packet packet)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue