-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Wrap unused arguments in Objects/obmalloc.c with Py_UNUSED
.
#93040
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
Comments
You'll find there's a lot of unused arguments in the CPython code base. We could wrap these two in Suggesting to close this. |
cc. @vstinner |
The following functions in obmalloc.c have one or more unused arguments:
Victor says he's +1 on wrapping unused arguments with |
Py_UNUSED
.
Why wrapping instead of removing, is it a convention? |
The ctx parameter is part of PEP 445 API. |
Fixed by #93175 |
As the title says, parameter
ctx
is not used in body of function pymalloc_alloc and pymalloc_free.The text was updated successfully, but these errors were encountered: