[tcp] address uninitialized variable warning (#9438)

This commit is contained in:
Jonathan Hui
2023-09-19 12:31:01 -07:00
committed by GitHub
parent 07c56c28e0
commit 21ac9f54cf
+1 -1
View File
@@ -432,7 +432,7 @@ bool Tcp::Endpoint::FirePendingTimers(TimeMilli aNow, bool &aHasFutureTimer, Tim
* this only happens if the connection is dropped (e.g., it
* times out).
*/
int dropped;
int dropped = 0;
switch (timerIndex)
{