Skip to content

Commit

Permalink
Add some braces that went missing while applying review suggestions. (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored Jun 2, 2024
1 parent e0bdb09 commit 294dc18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/darwin/Framework/CHIP/MTRDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -3097,8 +3097,9 @@ - (void)_pruneClustersIn:(MTRDeviceDataValueDictionary)previousServerListValue

NSMutableSet<MTRClusterPath *> * clusterPathsToRemove = [[NSMutableSet alloc] init];
for (MTRClusterPath * path in _persistedClusters) {
if ([path.endpoint isEqualToNumber:endpointID] && [toBeRemovedClusters containsObject:path.cluster])
if ([path.endpoint isEqualToNumber:endpointID] && [toBeRemovedClusters containsObject:path.cluster]) {
[clusterPathsToRemove addObject:path];
}
}
[self _removeClusters:clusterPathsToRemove doRemoveFromDataStore:YES];
}
Expand Down

0 comments on commit 294dc18

Please sign in to comment.