Skip to content

Commit

Permalink
fixed unused error vars warning
Browse files Browse the repository at this point in the history
  • Loading branch information
EskoDijk committed Aug 21, 2024
1 parent 0ec11a0 commit 1e01571
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/meshcop/commissioner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ Commissioner::Commissioner(Instance &aInstance)

// FIXME only open if needed?
Error err = Get<Ip6::Udp>().Open(this->mRelaySocket, HandleRelayRegistrarCallback, this);
LogWarnOnError(err, "Commissioner relay socket opening");
Ip6::SockAddr sockAddr = Ip6::SockAddr(49123);
err = Get<Ip6::Udp>().Bind(this->mRelaySocket, sockAddr, Ip6::NetifIdentifier::kNetifBackbone);
LogWarnOnError(err, "Commissioner relay socket binding");
}

void Commissioner::SetState(State aState)
Expand Down

0 comments on commit 1e01571

Please sign in to comment.