Eliminate 'ptr arithmetic with NULL' cppcheck warning in alloc_mark_stack
authorIvan Maidanski <ivmai@mail.ru>
Tue, 10 Jul 2018 21:41:33 +0000 (00:41 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 10 Jul 2018 21:41:33 +0000 (00:41 +0300)
commit900d7e76317c9f07626e922ced0c39bae72d5bdb
treec226aebc1dae7b93e91b4bedf39f636fa13d9ffd
parentfb6943568da11888649be02136def84d0ebe3618
Eliminate 'ptr arithmetic with NULL' cppcheck warning in alloc_mark_stack

* mark.c (alloc_mark_stack): Wrap GC_mark_stack_limit (and
GC_mark_stack, GC_mark_stack_size) assignment into "else" block (after
EXIT).
mark.c