netty5/transport-native-epoll/src
Carl Mastrangelo 262ced7ce4 Unconditionally initialize sockaddrs in epoll linuxsocket (#9299)
Motivation:

Compiling with -Werror,-Wuninitialized complains about the sockaddrs being uninitialized.
I believe this is because the init function netty_unix_socket_initSockaddr is in a
separate compilation unit.  Since this code isn't on the criticial path, it's easy
to just memset the variables rather than suppress the warning.

Modification:
Always clear the sockaddrs, even if they will be initialized later.

Result:
Able to compile with warnings turned on
2019-06-29 12:16:58 +02:00
..
main Unconditionally initialize sockaddrs in epoll linuxsocket (#9299) 2019-06-29 12:16:58 +02:00
test/java/io/netty/channel/epoll remove unused imports (#9287) 2019-06-26 21:08:31 +02:00