]> 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>
Mon, 6 Feb 2017 17:32:42 +0000 (20:32 +0300)
commit691bc4fd99bb6e31e377e64f53bff94d264f57af
treed26b24c211678c3b4bec17d780f49038d68cadbb
parent0b95d36c057caf72287f23958b009ace4f49830e
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