diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2023-01-01 01:01:21 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2023-01-01 01:01:21 +0300 |
commit | 6f07b96cf488db20a4de4f10cea0675743b2621c (patch) | |
tree | 9308bf6018ec71dd567c93c7d165914456efb7e1 /pthread_support.c | |
parent | 2cd04cd95cef35180a021e83f7fb9ac268e6ab3b (diff) | |
download | bdwgc-6f07b96cf488db20a4de4f10cea0675743b2621c.tar.gz |
Fix 'unused crtn var' and 'possible null dereference' cppcheck warnings
(fix of commits 7eb49a4e6, 128c0ec3)
Issue #362 (bdwgc).
* darwin_stop_world.c (GC_stack_range_for): Define crtn local variable
only if DARWIN_DONT_PARSE_STACK.
* darwin_stop_world.c [DARWIN_DONT_PARSE_STACK && CPPCHECK]
(GC_stack_range_for): Call ABORT if p is NULL (before crtn = p->crtn).
Diffstat (limited to 'pthread_support.c')
0 files changed, 0 insertions, 0 deletions