Skip to content

Commit 1ba15ff

Browse files
committed
dispatch: remove an unused function
This preprocesses away a function definition to avoid a warning on Windows. This cleans all but one warning on Windows.
1 parent 9502860 commit 1ba15ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7989,7 +7989,7 @@ _dispatch_context_cleanup(void *ctxt)
79897989
#pragma mark -
79907990
#pragma mark dispatch_init
79917991

7992-
#if !DISPATCH_USE_COOPERATIVE_WORKQUEUE
7992+
#if !DISPATCH_USE_INTERNAL_WORKQUEUE && !DISPATCH_USE_COOPERATIVE_WORKQUEUE
79937993
static void
79947994
_dispatch_cooperative_root_queue_init_fallback(dispatch_queue_global_t dq)
79957995
{

0 commit comments

Comments
 (0)