Skip to content

gh-103617: Fix compiler warning in _iomodule.c #103618

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
Apr 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-103617: Fix compiler warning in _iomodule.c
  • Loading branch information
erlend-aasland committed Apr 18, 2023
commit c5df726b5e8b5e1515a14b0fdb4d7c09a9fbc667
5 changes: 3 additions & 2 deletions Modules/_io/_iomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,9 @@ iomodule_clear(PyObject *mod) {
}

static void
iomodule_free(PyObject *mod) {
iomodule_clear(mod);
iomodule_free(void *mod)
{
(void)iomodule_clear((PyObject *)mod);
}


Expand Down