Skip to content

Commit

Permalink
Add braces to if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed Jun 13, 2024
1 parent 9244a24 commit ac2139d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controller/CurrentFabricRemover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ void CurrentFabricRemover::OnCommandFailure(void * context, CHIP_ERROR err)
void CurrentFabricRemover::FinishRemoveCurrentFabric(void * context, CHIP_ERROR err)
{
if (err != CHIP_NO_ERROR)
{
ChipLogError(Controller, "Remove Current Fabric Failed : %" CHIP_ERROR_FORMAT, err.Format());
}
auto * self = static_cast<CurrentFabricRemover *>(context);
self->mNextStep = Step::kAcceptRemoveFabricStart;
if (self->mCurrentFabricRemoveCallback != nullptr)
Expand Down

0 comments on commit ac2139d

Please sign in to comment.