mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
Fix compiler complaining about unused variable in release builds (#2583)
This commit is contained in:
parent
88fecbe3eb
commit
9385425d07
@ -730,9 +730,11 @@ NSString *NSStringFromASHierarchyChangeType(_ASHierarchyChangeType changeType)
|
||||
|
||||
+ (void)ensureItemChanges:(NSArray<_ASHierarchyItemChange *> *)changes ofSameType:(_ASHierarchyChangeType)changeType
|
||||
{
|
||||
#if ASDISPLAYNODE_ASSERTIONS_ENABLED
|
||||
for (_ASHierarchyItemChange *change in changes) {
|
||||
NSAssert(change.changeType == changeType, @"The map we created must all be of the same changeType as of now");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
- (_ASHierarchyItemChange *)changeByFinalizingType
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user