Browse Source
Set {listen,server}_sock to -1 when needed as already done in
src/manager.c by commit ecf1fcc845
to
avoid the following build failure:
local.c: In function 'create_and_bind':
local.c:218:12: error: 'listen_sock' may be used uninitialized in this function [-Werror=maybe-uninitialized]
218 | return listen_sock;
| ^~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/27471a878ff52a972ac087d534e44fb0c50808f6
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
pull/2886/head
Fabrice Fontaine
2 years ago
committed by
Max Lv