]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105673: Fix uninitialized warning in sysmodule.c (GH-105674) (#105675)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Jun 2023 09:15:45 +0000 (02:15 -0700)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2023 09:15:45 +0000 (09:15 +0000)
commit0b305e8d36c5ac5dc83f0c09e7e2b3360b992eea
treeb775bc9699d79b71bae097c717356144eb9e493a
parentd310fc776ee4ba94a5128bd3c22a7904f6546470
[3.12] gh-105673: Fix uninitialized warning in sysmodule.c (GH-105674) (#105675)

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