File tree 1 file changed +2
-3
lines changed
src/darwin/Framework/CHIP
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3033,7 +3033,7 @@ - (BOOL)_attributeAffectsDeviceConfiguration:(MTRAttributePath *)attributePath
3033
3033
}
3034
3034
3035
3035
- (void )_removeClusters : (NSSet <MTRClusterPath *> *)clusterPathsToRemove
3036
- doRemoveFromDataStore : (BOOL )doRemoveFromDataStore
3036
+ doRemoveFromDataStore : (BOOL )doRemoveFromDataStore
3037
3037
{
3038
3038
os_unfair_lock_assert_owner (&self->_lock );
3039
3039
@@ -3042,8 +3042,7 @@ - (void)_removeClusters:(NSSet<MTRClusterPath *> *)clusterPathsToRemove
3042
3042
for (MTRClusterPath * path in clusterPathsToRemove) {
3043
3043
[_persistedClusterData removeObjectForKey: path];
3044
3044
[_clusterDataToPersist removeObjectForKey: path];
3045
- if (doRemoveFromDataStore)
3046
- {
3045
+ if (doRemoveFromDataStore) {
3047
3046
[self .deviceController.controllerDataStore clearStoredClusterDataForNodeID: self .nodeID endpointID: path.endpoint clusterID: path.cluster];
3048
3047
}
3049
3048
}
You can’t perform that action at this time.
0 commit comments