Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Nov 10, 2023

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.
Copy link
Member

@corona10 corona10 left a comment

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
36 checks passed
@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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants