]> granicus.if.org Git - gc/commit
Eliminate 'non-null arg compared to null' warning in toggleref_add (GCC)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 27 Sep 2017 08:22:18 +0000 (11:22 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 28 Sep 2017 21:57:57 +0000 (00:57 +0300)
commit6c78441cd5be32438c6830c76c324e1222ce7ee4
tree9f51aa846782c8b04084f61f3ed487845cf00ed2
parent5bd755892dacc877823ec53e124f149407d08c28
Eliminate 'non-null arg compared to null' warning in toggleref_add (GCC)
(fix commit 86991cb)

* finalize.c [!GC_TOGGLE_REFS_NOT_NEEDED] (GC_toggleref_add): Use
NONNULL_ARG_NOT_NULL to check pointer argument marked as non-null (in
the function declaration) is actually non-null.
finalize.c