mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
- Use modern Objective-C syntax.
- Simplify comparisons. - Remove dead stores.
This commit is contained in:
@@ -53,7 +53,6 @@
|
||||
{
|
||||
std::deque<id> itemsToProcess = std::deque<id>();
|
||||
BOOL isQueueDrained = NO;
|
||||
CFAbsoluteTime timestamp = 0;
|
||||
{
|
||||
ASDN::MutexLocker l(_internalQueueLock);
|
||||
|
||||
@@ -72,7 +71,6 @@
|
||||
|
||||
if (_internalQueue.empty()) {
|
||||
isQueueDrained = YES;
|
||||
timestamp = CFAbsoluteTimeGetCurrent();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user