You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New warning in the main (b4f799b1e7): ./Modules/socketmodule.c #128452
[...]
./Modules/socketmodule.c: In function ‘sock_accept’:
./Modules/socketmodule.c:474:23: warning: ‘ctx.result’ may be used uninitialized [-Wmaybe-uninitialized]
474 | # define SOCKETCLOSE close
| ^~~~~
./Modules/socketmodule.c:2939:24: note: ‘ctx.result’ was declared here
2939 | struct sock_accept ctx;
| ^~~
$ cc --version
cc (Debian 12.2.0-14) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Activity
tomasr8 commentedon Jan 3, 2025
#128304 might be related
sobolevn commentedon Jan 30, 2025
This still happens on
main, cc @kumaraditya303 who wrote #128304gh-128452: fix warning in socketmodule.c (#129478)
pythongh-128452: fix warning in socketmodule.c (python#129478)