Problem: pgm_sender does not initialise all its class variables

Solution: do it to silence static analysis warnings
This commit is contained in:
Luca Boccassi 2018-06-09 17:17:32 +01:00
parent 40606a93fe
commit 8da4e9b95c

View File

@ -51,6 +51,10 @@ zmq::pgm_sender_t::pgm_sender_t (io_thread_t *parent_,
more_flag (false),
pgm_socket (false, options_),
options (options_),
handle (static_cast<handle_t> (NULL)),
uplink_handle (static_cast<handle_t> (NULL)),
rdata_notify_handle (static_cast<handle_t> (NULL)),
pending_notify_handle (static_cast<handle_t> (NULL)),
out_buffer (NULL),
out_buffer_size (0),
write_size (0)