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. (#32535)
  • Loading branch information
pidarped authored and pull[bot] committed May 22, 2024
1 parent c8b1425 commit 1673196
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 1673196

Please sign in to comment.