]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110481: fix 'unused function' warning for `is_shared_refcnt_dead`. (gh-111974)
authorSam Gross <colesbury@gmail.com>
Fri, 10 Nov 2023 23:54:35 +0000 (18:54 -0500)
committerGitHub <noreply@github.com>
Fri, 10 Nov 2023 23:54:35 +0000 (08:54 +0900)
commitfa84e5fe0a3bd8e77c33b20867d71ac6bee270f9
tree65031b57b411c2e75fe859ec9107f4e021353030
parentae8116cfa944dccad13638f6875b33b98d285b63
gh-110481: fix 'unused function' warning for `is_shared_refcnt_dead`. (gh-111974)

Fix 'unused function' warning for `is_shared_refcnt_dead`.

The `is_shared_refcnt_dead` function is only used if `Py_REF_DEBUG` is set.
Objects/object.c