From 5b5c3d372b8b1acafdd24e03140f07e5e84ee2a7 Mon Sep 17 00:00:00 2001 From: Adlai Holler Date: Mon, 12 Sep 2016 22:52:36 -0700 Subject: [PATCH] Mark unused function unused --- AsyncDisplayKit/Private/ASDispatch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AsyncDisplayKit/Private/ASDispatch.h b/AsyncDisplayKit/Private/ASDispatch.h index 78d7f906..17515ff7 100644 --- a/AsyncDisplayKit/Private/ASDispatch.h +++ b/AsyncDisplayKit/Private/ASDispatch.h @@ -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; }