Skip to content

Conversation

@petdance
Copy link
Contributor

@petdance petdance commented Mar 13, 2020

Remove unused arg from find_nfc_index()

https://bugs.python.org/issue39943

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.

@petdance Nice catch!
How did you find it?

@petdance
Copy link
Contributor Author

Thanks. I used GCC's -Wunused-parameter option and waded through all the false positives.

It would be nice if we could have -Wunused-parameter on by default, but there are so many API methods that pass unnecessary parameters, it would make too much noise. Either that, or we'd have to mark every unused parameter with Py_UNUSED, but that would be pretty ugly.

@corona10
Copy link
Member

@petdance Nice!

@vstinner vstinner merged commit 982307b into python:master Mar 17, 2020
@petdance
Copy link
Contributor Author

Thanks for merging this, @vstinner. Now I can refork my repo to get rid of whatever weird commits I have that caused problems before.

@petdance petdance deleted the bpo-39943-Modules-unicodedata-B branch March 17, 2020 16:59
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.

5 participants