]> granicus.if.org Git - gc/commit
Eliminate 'unused variable' compiler warning in remove_all_threads_but_me
authorIvan Maidanski <ivmai@mail.ru>
Wed, 7 Jun 2017 07:18:28 +0000 (10:18 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 4 Jul 2017 22:04:09 +0000 (01:04 +0300)
commitc2e05dd1f2312e732d6cdcfcdf266b0dec9ebab4
treeee5e618136265784325b1c33871c31c5973aad57
parentc323ad43eec895e31a0d78960ec48df3a40f9ba0
Eliminate 'unused variable' compiler warning in remove_all_threads_but_me
(fix commit 0fc61f2)

* pthread_support.c [CAN_HANDLE_FORK] (GC_remove_all_threads_but_me):
Declare "res" local variable only if THREAD_LOCAL_ALLOC and
not USE_CUSTOM_SPECIFIC.
pthread_support.c