]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105673: Fix uninitialized warning in sysmodule.c (GH-105674) (#105676)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Jun 2023 09:13:03 +0000 (02:13 -0700)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2023 09:13:03 +0000 (09:13 +0000)
commit171aa086f27e581bfcf2288d5afd0167480ef3cb
tree89ace1ef0fc56ddf834bd4d377c14f641010c3a6
parente5fe017143bd259ec3a825029e3a6e30f612089c
[3.11] gh-105673: Fix uninitialized warning in sysmodule.c (GH-105674) (#105676)

In sys_add_xoption(), 'value' may be uninitialized for some error paths.
(cherry picked from commit a8d69fe92c65d636fc454cfb1825c357eb2e6325)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Python/sysmodule.c