Skip to content

Commit

Permalink
Remove redundant SetValue() for Optional ExchangeHandle in CASESessio…
Browse files Browse the repository at this point in the history
…n.cpp. (project-chip#32535)
  • Loading branch information
pidarped authored and huangxuyong committed Mar 19, 2024
1 parent 320d6cf commit ce59f22
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/protocols/secure_channel/CASESession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2106,7 +2106,6 @@ CHIP_ERROR CASESession::ValidateReceivedMessage(ExchangeContext * ec, const Payl
}
else
{
mExchangeCtxt.SetValue(ExchangeHandle(*ec));
mExchangeCtxt.Emplace(*ec);
}
mExchangeCtxt.Value()->UseSuggestedResponseTimeout(kExpectedHighProcessingTime);
Expand Down

0 comments on commit ce59f22

Please sign in to comment.