tcp: Fix a compiler warning

This commit is contained in:
Viyom
2018-05-18 18:22:35 +02:00
parent b0c0c88d02
commit 20137b78e6

View File

@@ -102,7 +102,7 @@ TcpPrrRecovery::DoRecovery (Ptr<TcpSocketState> tcb, uint32_t lastAckedBytes,
}
else
{
int limit;
int limit = static_cast<int> (tcb->m_ssThresh - tcb->m_bytesInFlight);
if (m_reductionBoundMode == CRB)
{
limit = m_prrDelivered - m_prrOut;