Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and nivi-apple committed May 30, 2024
1 parent c1ba1fd commit 62a6dfb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/darwin/Framework/CHIP/MTRDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -3033,7 +3033,7 @@ - (BOOL)_attributeAffectsDeviceConfiguration:(MTRAttributePath *)attributePath
}

- (void)_removeClusters:(NSSet<MTRClusterPath *> *)clusterPathsToRemove
doRemoveFromDataStore:(BOOL)doRemoveFromDataStore
doRemoveFromDataStore:(BOOL)doRemoveFromDataStore
{
os_unfair_lock_assert_owner(&self->_lock);

Expand All @@ -3042,8 +3042,7 @@ - (void)_removeClusters:(NSSet<MTRClusterPath *> *)clusterPathsToRemove
for (MTRClusterPath * path in clusterPathsToRemove) {
[_persistedClusterData removeObjectForKey:path];
[_clusterDataToPersist removeObjectForKey:path];
if (doRemoveFromDataStore)
{
if (doRemoveFromDataStore) {
[self.deviceController.controllerDataStore clearStoredClusterDataForNodeID:self.nodeID endpointID:path.endpoint clusterID:path.cluster];
}
}
Expand Down

0 comments on commit 62a6dfb

Please sign in to comment.