]> granicus.if.org Git - gc/commit
Workaround 'cnt var assigned but not used' cppcheck FP in copy_ptr_regs
authorIvan Maidanski <ivmai@mail.ru>
Tue, 10 Sep 2019 20:28:15 +0000 (23:28 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 10 Sep 2019 20:28:15 +0000 (23:28 +0300)
commitcc91e8234f69126482ebdafc78de64705b06c5fc
tree3448245d4b82c9d7eb2b401d56687e233fea0ae2
parent88718771d6aa4bf79d50585add2e3f9e12deee34
Workaround 'cnt var assigned but not used' cppcheck FP in copy_ptr_regs
(fix of commit 912ec408d)

* win32_threads.c [!I386 && !X86_64 && !ARM32 && !AARCH64 && !SHx
&& !MIPS && !PPC && !ALPHA && CPPCHECK] (copy_ptr_regs): Set sp to cnt
value (with a cast); add comment.
win32_threads.c