Skip to content

Commit 11da2b1

Browse files
authored
[Darwin] The data value comparison function in MTRDevice incorrectly complains about nil comparison (project-chip#32863)
1 parent 9b9ed65 commit 11da2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/darwin/Framework/CHIP/MTRDevice.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,7 @@ - (BOOL)_attributeDataValue:(NSDictionary *)one isEqualToDataValue:(NSDictionary
20082008
return YES;
20092009
}
20102010
if (!one || !theOther) {
2011-
MTR_LOG_ERROR("%@ attribute data-value comparison does not expect a dictionary to be nil: %@ %@", self, one, theOther);
2011+
// Comparing against nil is expected, and should return NO quietly
20122012
return NO;
20132013
}
20142014

0 commit comments

Comments
 (0)