]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-90949: Fix an "unused function" compiler warning introduced in GH-139234 (#139558)
authorSebastian Pipping <sebastian@pipping.org>
Sat, 4 Oct 2025 14:19:06 +0000 (16:19 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Oct 2025 14:19:06 +0000 (14:19 +0000)
commitfc48a3c9cac5b9e8c6a56ec2294b01a8da9f8dee
tree20332144a11c0763c101def38d77af35ea1bced5
parent9e3542a6c26a849012216f5f754f16043d775c42
gh-90949: Fix an "unused function" compiler warning introduced in GH-139234 (#139558)

Fix a compiler warning `-Wunused-function` after f04bea44c37793561d753dd4ca6e7cd658137553.

The `set_invalid_arg` function in `Modules/pyexpat.c` may be unused if the underlying Expat
version is less than 2.4.0.
Modules/pyexpat.c