mirror of
https://github.com/espressif/openthread.git
synced 2026-07-31 16:17:47 +00:00
[tcp] address uninitialized variable warning (#9438)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user