Skip to content

Commit 62a6dfb

Browse files
restyled-commitsnivi-apple
authored andcommitted
Restyled by clang-format
1 parent c1ba1fd commit 62a6dfb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/darwin/Framework/CHIP/MTRDevice.mm

+2-3
Original file line numberDiff line numberDiff line change
@@ -3033,7 +3033,7 @@ - (BOOL)_attributeAffectsDeviceConfiguration:(MTRAttributePath *)attributePath
30333033
}
30343034

30353035
- (void)_removeClusters:(NSSet<MTRClusterPath *> *)clusterPathsToRemove
3036-
doRemoveFromDataStore:(BOOL)doRemoveFromDataStore
3036+
doRemoveFromDataStore:(BOOL)doRemoveFromDataStore
30373037
{
30383038
os_unfair_lock_assert_owner(&self->_lock);
30393039

@@ -3042,8 +3042,7 @@ - (void)_removeClusters:(NSSet<MTRClusterPath *> *)clusterPathsToRemove
30423042
for (MTRClusterPath * path in clusterPathsToRemove) {
30433043
[_persistedClusterData removeObjectForKey:path];
30443044
[_clusterDataToPersist removeObjectForKey:path];
3045-
if (doRemoveFromDataStore)
3046-
{
3045+
if (doRemoveFromDataStore) {
30473046
[self.deviceController.controllerDataStore clearStoredClusterDataForNodeID:self.nodeID endpointID:path.endpoint clusterID:path.cluster];
30483047
}
30493048
}

0 commit comments

Comments
 (0)