]> granicus.if.org Git - gc/commit
Fix 'ISO C90 forbids mixed declarations/code' compiler warning (gc_pmark)
authorIvan Maidanski <ivmai@mail.ru>
Mon, 13 Mar 2017 21:31:08 +0000 (00:31 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 7 Apr 2017 15:15:48 +0000 (18:15 +0300)
commit30c94e21888d4d3e0a1f235ca9285e776920fab3
tree982e0b43c525bc634bdfa0b94c0dd4ffee05dc6f
parent68865a689c9652ab7793a4a01024ef3587b54368
Fix 'ISO C90 forbids mixed declarations/code' compiler warning (gc_pmark)

* include/private/gc_pmark.h [MARK_BIT_PER_OBJ] (PUSH_CONTENTS_HDR):
Declare "obj_displ" local variable at the beginning of the block (not
after GC_STATIC_ASSERT).
include/private/gc_pmark.h