Skip to content

Commit 726a918

Browse files
restyled-commitsyunhanw-google
authored andcommitted
Restyled by clang-format
1 parent 1ca6ec6 commit 726a918

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/chip-tool/commands/clusters/ClusterCommand.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class ClusterCommand : public InteractionModelCommands, public ModelCommand, pub
5959
chip::CommandId commandId,
6060
const chip::app::Clusters::DiagnosticLogs::Commands::RetrieveLogsRequest::Type & value)
6161
{
62-
mPeerNodeId = device->GetDeviceId();
62+
mPeerNodeId = device->GetDeviceId();
6363
mFabricIndex = device->GetSecureSession().Value()->GetFabricIndex();
6464
ReturnErrorOnFailure(InteractionModelCommands::SendCommand(device, endpointId, clusterId, commandId, value));
6565

@@ -111,10 +111,10 @@ class ClusterCommand : public InteractionModelCommands, public ModelCommand, pub
111111
return;
112112
}
113113
}
114-
if ((path.mEndpointId == chip::kRootEndpointId) && (path.mClusterId == chip::app::Clusters::IcdManagement::Id) && (path.mCommandId == chip::app::Clusters::IcdManagement::Commands::UnregisterClient::Id))
114+
if ((path.mEndpointId == chip::kRootEndpointId) && (path.mClusterId == chip::app::Clusters::IcdManagement::Id) &&
115+
(path.mCommandId == chip::app::Clusters::IcdManagement::Commands::UnregisterClient::Id))
115116
{
116-
CHIP_ERROR deleteEntryError =
117-
CHIPCommand::sICDClientStorage.DeleteEntry(chip::ScopedNodeId(mPeerNodeId, mFabricIndex));
117+
CHIP_ERROR deleteEntryError = CHIPCommand::sICDClientStorage.DeleteEntry(chip::ScopedNodeId(mPeerNodeId, mFabricIndex));
118118
if (deleteEntryError != CHIP_NO_ERROR)
119119
{
120120
ChipLogError(chipTool, "Failed to delete ICD entry: %s", chip::ErrorStr(deleteEntryError));
@@ -220,7 +220,7 @@ class ClusterCommand : public InteractionModelCommands, public ModelCommand, pub
220220
chip::ClusterId mClusterId;
221221
chip::CommandId mCommandId;
222222
chip::FabricIndex mFabricIndex = 0;
223-
chip::NodeId mPeerNodeId = 0;
224-
CHIP_ERROR mError = CHIP_NO_ERROR;
223+
chip::NodeId mPeerNodeId = 0;
224+
CHIP_ERROR mError = CHIP_NO_ERROR;
225225
CustomArgument mPayload;
226226
};

0 commit comments

Comments
 (0)