1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 06:36:30 +09:00

FxCop issues fixed; dead code removed

This commit is contained in:
lidgren
2013-02-24 13:40:30 +00:00
parent 84f892c1f0
commit 14f20ace0e
9 changed files with 20 additions and 785 deletions

View File

@@ -46,7 +46,7 @@ namespace Lidgren.Network
}
// begin expansion
ExpandMTU(now, true);
ExpandMTU(now);
return;
}
@@ -61,11 +61,11 @@ namespace Lidgren.Network
// timed out; ie. failed
m_smallestFailedMTU = m_lastSentMTUAttemptSize;
ExpandMTU(now, false);
ExpandMTU(now);
}
}
private void ExpandMTU(double now, bool succeeded)
private void ExpandMTU(double now)
{
int tryMTU;
@@ -120,7 +120,7 @@ namespace Lidgren.Network
return;
}
}
ExpandMTU(now, false);
ExpandMTU(now);
return;
}
@@ -169,7 +169,7 @@ namespace Lidgren.Network
//m_peer.LogDebug("Expanding MTU to " + size);
m_currentMTU = size;
ExpandMTU(now, true);
ExpandMTU(now);
}
}
}