Skip to content

Fix compiler warning in Objects/unicodeobject.c #17440

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
Dec 2, 2019

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Dec 2, 2019

This fixes:

Objects/unicodeobject.c:15953:40: warning: expression which evaluates to zero treated as a null pointer constant of type 'wchar_t *' (aka 'int *') [-Wnon-literal-null-conversion]
    interp->config.filesystem_errors = _Py_ERROR_UNKNOWN;
                                       ^~~~~~~~~~~~~~~~~
1 warning generated.

Automerge-Triggered-By: @pablogsal

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.

3 participants