mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-03-29 08:39:00 +08:00
Mark unused function unused
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* Note: The actual number of threads may be lower than threadCount, if libdispatch
|
||||
* decides the system can't handle it. In reality this rarely happens.
|
||||
*/
|
||||
static void ASDispatchApply(size_t iterationCount, dispatch_queue_t queue, NSUInteger threadCount, void(^work)(size_t i)) {
|
||||
__unused static void ASDispatchApply(size_t iterationCount, dispatch_queue_t queue, NSUInteger threadCount, void(^work)(size_t i)) {
|
||||
if (threadCount == 0) {
|
||||
threadCount = [NSProcessInfo processInfo].activeProcessorCount * 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user