Skip to content

Commit

Permalink
Fix python compile. (#8135)
Browse files Browse the repository at this point in the history
Looks like ChipLogDetail is off for the controller so it throws
an unused variable exception. Just moving the var into the log.
  • Loading branch information
cecille authored Jul 6, 2021
1 parent f62ab0b commit edd134c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transport/SecureSessionMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,8 @@ void SecureSessionMgr::SecureMessageDispatch(const PacketHeader & packetHeader,

void SecureSessionMgr::HandleConnectionExpired(const Transport::PeerConnectionState & state)
{
NodeId peerNodeId = state.GetPeerNodeId();
ChipLogDetail(Inet, "Marking old secure session for device 0x" ChipLogFormatX64 " as expired", ChipLogValueX64(peerNodeId));
ChipLogDetail(Inet, "Marking old secure session for device 0x" ChipLogFormatX64 " as expired",
ChipLogValueX64(state.GetPeerNodeId()));

if (mCB != nullptr)
{
Expand Down

0 comments on commit edd134c

Please sign in to comment.