mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:54:01 +01:00
fixed warning
This commit is contained in:
parent
d20475e3d0
commit
17d0e59d02
|
@ -497,7 +497,6 @@ namespace stream
|
||||||
m_IsNAcked = false;
|
m_IsNAcked = false;
|
||||||
m_IsResendNeeded = false;
|
m_IsResendNeeded = false;
|
||||||
int nackCount = packet->GetNACKCount ();
|
int nackCount = packet->GetNACKCount ();
|
||||||
int ackCount = 0;
|
|
||||||
for (auto it = m_SentPackets.begin (); it != m_SentPackets.end ();)
|
for (auto it = m_SentPackets.begin (); it != m_SentPackets.end ();)
|
||||||
{
|
{
|
||||||
auto seqn = (*it)->GetSeqn ();
|
auto seqn = (*it)->GetSeqn ();
|
||||||
|
@ -536,7 +535,6 @@ namespace stream
|
||||||
m_SentPackets.erase (it++);
|
m_SentPackets.erase (it++);
|
||||||
m_LocalDestination.DeletePacket (sentPacket);
|
m_LocalDestination.DeletePacket (sentPacket);
|
||||||
acknowledged = true;
|
acknowledged = true;
|
||||||
ackCount++;
|
|
||||||
if (m_WindowSize < MAX_WINDOW_SIZE && !m_IsFirstACK)
|
if (m_WindowSize < MAX_WINDOW_SIZE && !m_IsFirstACK)
|
||||||
if (m_RTT < m_LocalDestination.GetRandom () % INITIAL_RTT) // dirty
|
if (m_RTT < m_LocalDestination.GetRandom () % INITIAL_RTT) // dirty
|
||||||
m_WindowIncCounter++;
|
m_WindowIncCounter++;
|
||||||
|
|
Loading…
Reference in a new issue