Skip to content

Commit b142daf

Browse files
Add some braces that went missing while applying review suggestions.
1 parent c1e1e6e commit b142daf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/darwin/Framework/CHIP/MTRDevice.mm

+2-1
Original file line numberDiff line numberDiff line change
@@ -3096,8 +3096,9 @@ - (void)_pruneClustersIn:(MTRDeviceDataValueDictionary)previousServerListValue
30963096

30973097
NSMutableSet<MTRClusterPath *> * clusterPathsToRemove = [[NSMutableSet alloc] init];
30983098
for (MTRClusterPath * path in _persistedClusters) {
3099-
if ([path.endpoint isEqualToNumber:endpointID] && [toBeRemovedClusters containsObject:path.cluster])
3099+
if ([path.endpoint isEqualToNumber:endpointID] && [toBeRemovedClusters containsObject:path.cluster]) {
31003100
[clusterPathsToRemove addObject:path];
3101+
}
31013102
}
31023103
[self _removeClusters:clusterPathsToRemove doRemoveFromDataStore:YES];
31033104
}

0 commit comments

Comments
 (0)