Skip to content

Commit b5d2aeb

Browse files
committed
remove unnessary cast in libdispatch_tsd_cleanup
1 parent dc44d7a commit b5d2aeb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/queue.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,8 +1006,7 @@ _libdispatch_tsd_cleanup(void *ctx)
10061006
_tsd_call_cleanup(dispatch_bcounter_key, NULL);
10071007
#endif
10081008
#if DISPATCH_LOCK_USE_SEMAPHORE_FALLBACK
1009-
_tsd_call_cleanup(dispatch_sema4_key,
1010-
(void (*)(void *))_dispatch_thread_semaphore_dispose);
1009+
_tsd_call_cleanup(dispatch_sema4_key, _dispatch_thread_semaphore_dispose);
10111010
#endif
10121011
_tsd_call_cleanup(dispatch_priority_key, NULL);
10131012
_tsd_call_cleanup(dispatch_voucher_key, _voucher_thread_cleanup);

0 commit comments

Comments
 (0)