]> granicus.if.org Git - gc/commit
Eliminate 'GC_collecting is set but never used' code defect (Win32)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 18 Jan 2017 08:58:42 +0000 (11:58 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 18 Jan 2017 08:58:42 +0000 (11:58 +0300)
commit20a581dfd50a4de4b4d1935893aa41e5ea64d32f
tree0ca952e0f56ed844fc7fbeca03a4fb82e4a683bf
parenta6d71b1ad8a649561e67c8cf8ea345b7e03b9f64
Eliminate 'GC_collecting is set but never used' code defect (Win32)

* include/private/gc_locks.h [USE_PTHREAD_LOCKS && GC_PTHREADS]
(GC_collecting): Do not declare if GC_WIN32_THREADS.
* include/private/gc_locks.h [USE_PTHREAD_LOCKS && GC_PTHREADS]
(ENTER_GC, EXIT_GC): Do not define if GC_WIN32_THREADS; remove
trailing ';', add cast to void.
* win32_threads.c [USE_PTHREAD_LOCKS] (GC_collecting): Remove definition.
include/private/gc_locks.h
win32_threads.c