Skip to content

_json.c: use Py_UNUSED() macro #17053

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

Merged
merged 1 commit into from
Nov 5, 2019
Merged

_json.c: use Py_UNUSED() macro #17053

merged 1 commit into from
Nov 5, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 5, 2019

Remove UNUSED macro: use Py_UNUSED() macro instead.

Remove UNUSED macro: use Py_UNUSED() macro instead.
Copy link
Member

@ammaraskar ammaraskar left a comment

Choose a reason for hiding this comment

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

Looks good, removes duplicated macro.

@vstinner vstinner merged commit fbbfcce into python:master Nov 5, 2019
@vstinner vstinner deleted the json_unused branch November 5, 2019 10:44
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
Remove UNUSED macro: use Py_UNUSED() macro instead.
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
Remove UNUSED macro: use Py_UNUSED() macro instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants