Skip to content

gh-110481: fix 'unused function' warning for is_shared_refcnt_dead. - #111974

Merged
corona10 merged 1 commit into
python:mainfrom
colesbury:is_shared_refcnt_dead
Nov 10, 2023
Merged

corona10 merged 1 commit into
python:mainfrom
colesbury:is_shared_refcnt_dead

Conversation

@colesbury

@colesbury colesbury commented Nov 10, 2023 •

Copy link
Copy Markdown
Contributor

The is_shared_refcnt_dead function is only used if Py_REF_DEBUG is set.

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

@corona10 corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@corona10
corona10 merged commit fa84e5f into python:main Nov 10, 2023
@colesbury
colesbury deleted the is_shared_refcnt_dead branch December 12, 2023 19:38
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants