]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix Windows build warnings (#131487)
authorVictor Stinner <vstinner@python.org>
Thu, 20 Mar 2025 11:03:20 +0000 (12:03 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Mar 2025 11:03:20 +0000 (12:03 +0100)
commit486d5370653d86aba4348067bd61b973297c22c3
tree5b25ac3ead6a2df6027697fc9783fceeeaba044c
parent2433cc79d79d9c1db8e53d4b9bde26e9a47fb0b9
Fix Windows build warnings (#131487)

Fix the following warnings:

* Modules\_io\fileio.c(1296,13): unused variable 'self'
* Modules\_io\winconsoleio.c(334,9): unused variable 'fd_is_own'
* Modules\faulthandler.c(409,11): unused variable 'flags'
* Modules\posixmodule.c(5699,9): unused variable 'pathError'
* PC\winreg.c(2077,5): suggest braces around initialization of
  subobject
* PC\winreg.c(34,13): unused variable 'errNotAHandle'
* Python\fileutils.c(132,12): result of comparison of constant
  1114111 with expression of type 'wchar_t' (aka 'unsigned short') is
  always false
* Python\fileutils.c(58,21): unused variable 'INCOMPLETE_CHARACTER'
* Python\sysmodule.c(2534,21): unused variable 'perf_map_state'
Modules/_io/fileio.c
Modules/_io/winconsoleio.c
Modules/faulthandler.c
Modules/posixmodule.c
PC/winreg.c
Python/fileutils.c
Python/sysmodule.c