Skip to content

_json.c: use Py_UNUSED() macro#17053

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:json_unused
Nov 5, 2019
Merged

_json.c: use Py_UNUSED() macro#17053
vstinner merged 1 commit intopython:masterfrom
vstinner:json_unused

Conversation

@vstinner
Copy link
Copy Markdown
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
Copy Markdown
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