Skip to content

Commit

Permalink
[tcp] address uninitialized variable warning (openthread#9438)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhui authored Sep 19, 2023
1 parent 07c56c2 commit 21ac9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/net/tcp6.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 21ac9f5

Please sign in to comment.