Skip to content

Commit

Permalink
Restyled change
Browse files Browse the repository at this point in the history
  • Loading branch information
jtung-apple committed Aug 13, 2022
1 parent ea3d3aa commit 5e4fb24
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 @@ -561,7 +561,8 @@ - (void)_checkExpiredExpectedValues
MTRAttributePath * attributePath = attributeInfo.first;
NSDictionary * attributeDataValue = attributeInfo.second;
NSDictionary * cachedAttributeDataValue = _readCache[attributePath];
if (cachedAttributeDataValue && ![self _attributeDataValue:attributeDataValue isEqualToDataValue:cachedAttributeDataValue]) {
if (cachedAttributeDataValue
&& ![self _attributeDataValue:attributeDataValue isEqualToDataValue:cachedAttributeDataValue]) {
[attributesToReport addObject:cachedAttributeDataValue];
}

Expand Down

0 comments on commit 5e4fb24

Please sign in to comment.