diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2019-10-03 10:17:37 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2019-10-03 10:17:37 +0300 |
commit | 14deadaddbf84caf4e9a31eb9dfeb3c03e95a599 (patch) | |
tree | 90e8a49af88ded601b422abe212d985b4b9de3a8 /mark.c | |
parent | 31637cfd88dfc6554e606f86bab76feb752fac91 (diff) | |
download | bdwgc-14deadaddbf84caf4e9a31eb9dfeb3c03e95a599.tar.gz |
Workaround 'label handle_thr_start is not used' cppcheck style warning
(fix of commit 03109f287)
* mark.c [WRAP_MARK_SOME && GC_WIN32_THREADS && !GC_PTHREADS]
(GC_mark_some): Define handle_thr_start label only if MSWIN32 or
MSWINCE is defined.
Diffstat (limited to 'mark.c')
-rw-r--r-- | mark.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -572,7 +572,8 @@ handle_ex: warned_gc_no = GC_gc_no; } } -# if defined(GC_WIN32_THREADS) && !defined(GC_PTHREADS) +# if (defined(MSWIN32) || defined(MSWINCE)) && defined(GC_WIN32_THREADS) \ + && !defined(GC_PTHREADS) handle_thr_start: # endif /* We have bad roots on the stack. Discard mark stack. */ |