gh-110481: fix 'unused function' warning for `is_shared_refcnt_dead`. by colesbury · Pull Request #111974 · python/cpython

@colesbury

The `is_shared_refcnt_dead` function is only used if `Py_REF_DEBUG` is set.

corona10

aisk pushed a commit to aisk/cpython that referenced this pull request

Feb 11, 2024
…dead`. (pythongh-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.

Glyphack pushed a commit to Glyphack/cpython that referenced this pull request

Sep 2, 2024
…dead`. (pythongh-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.