- Use modern Objective-C syntax.

-  Simplify comparisons.
-  Remove dead stores.
This commit is contained in:
Eric Jensen
2016-03-15 22:34:29 -07:00
parent f97a509541
commit 33fda7ab49
25 changed files with 55 additions and 74 deletions

View File

@@ -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();
}
}