]> granicus.if.org Git - gc/commit
Workaround 'nonlocal var will use ptr to local var' cppcheck false positive
authorIvan Maidanski <ivmai@mail.ru>
Thu, 22 Nov 2018 11:34:03 +0000 (14:34 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 26 Nov 2018 08:01:00 +0000 (11:01 +0300)
commit2f03abeac7d1abdd8f28424d8fde51a0b752082a
tree5dbc2c667f5db399b7c9de58d14b25b0b3b256ad
parent3fe6c87998fe0ee724de041e5b15380f510df2eb
Workaround 'nonlocal var will use ptr to local var' cppcheck false positive

* extra/msvc_dbg.c (sym_namebuf_u): New union type.
* extra/msvc_dbg.c (GetSymbolNameFromAddress): Use sym_namebuf_u
instead of anonymous union.
* os_dep.c [MPROTECT_VDB && DARWIN] (mp_reply_s, mp_msg_s): Move struct
type definition out of GC_mprotect_thread (adding mp_ prefix).
extra/msvc_dbg.c
os_dep.c