Workaround 'name var reassign before old value use' cppcheck false positive
authorIvan Maidanski <ivmai@mail.ru>
Thu, 6 Dec 2018 08:14:37 +0000 (11:14 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 6 Dec 2018 08:14:37 +0000 (11:14 +0300)
commit77fa104eb8a254be16a519b711512294f830196c
treeb197d7e87721331444bf20e36c910c8de5dc51b9
parent014b13c4e434209450366e3501d557a7a17847f9
Workaround 'name var reassign before old value use' cppcheck false positive

* os_dep.c [NEED_CALLINFO && LINUX && !SMALL_CONFIG && CPPCHECK]
(GC_print_callers): Call GC_noop1(name[0]) before reassigning name;
add comment.
os_dep.c