Commit edb5a05a authored by Matt Arsenault's avatar Matt Arsenault Committed by Matt Arsenault

Fix -Wmissing-field-initializers

parent 3ebab09c
...@@ -240,7 +240,8 @@ zmq::fd_t zmq::tcp_listener_t::accept () ...@@ -240,7 +240,8 @@ zmq::fd_t zmq::tcp_listener_t::accept ()
// Accept one connection and deal with different failure modes. // Accept one connection and deal with different failure modes.
zmq_assert (s != retired_fd); zmq_assert (s != retired_fd);
struct sockaddr_storage ss = {}; struct sockaddr_storage ss;
memset (&ss, 0, sizeof (ss));
#ifdef ZMQ_HAVE_HPUX #ifdef ZMQ_HAVE_HPUX
int ss_len = sizeof (ss); int ss_len = sizeof (ss);
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment