]> granicus.if.org Git - gc/commit
Workaround 'condition is always true' cppcheck style warnings in GC_init
authorIvan Maidanski <ivmai@mail.ru>
Thu, 22 Dec 2016 22:44:06 +0000 (01:44 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 22 Dec 2016 22:44:06 +0000 (01:44 +0300)
commit79bdb1a759f16845ffe5352c328e0275f5e2276c
tree3107235f348b34c167ac9a5fda6e7d65104a518a
parent5ee0400151166217efd662ce432bd2666957b7bf
Workaround 'condition is always true' cppcheck style warnings in GC_init

* misc.c (GC_init): Skip GC_STATIC_ASSERT for sizeof(ptr_t),
sizeof(word), (word)-1>(word)0 and ((signed_word)-1)<0 if CPPCHECK.
misc.c