Closed
Description
Bug report
Bug description:
./configure -q && make -s
give me
[...]
./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.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux