Skip to content

Commit ac2139d

Browse files
committed
Add braces to if statement
1 parent 9244a24 commit ac2139d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/controller/CurrentFabricRemover.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ void CurrentFabricRemover::OnCommandFailure(void * context, CHIP_ERROR err)
146146
void CurrentFabricRemover::FinishRemoveCurrentFabric(void * context, CHIP_ERROR err)
147147
{
148148
if (err != CHIP_NO_ERROR)
149+
{
149150
ChipLogError(Controller, "Remove Current Fabric Failed : %" CHIP_ERROR_FORMAT, err.Format());
151+
}
150152
auto * self = static_cast<CurrentFabricRemover *>(context);
151153
self->mNextStep = Step::kAcceptRemoveFabricStart;
152154
if (self->mCurrentFabricRemoveCallback != nullptr)

0 commit comments

Comments
 (0)