mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 08:46:44 +01:00
problem: valgrind complain about uninitialized value
Solution: initialize the value
This commit is contained in:
parent
977f137a83
commit
2018be643a
@ -49,6 +49,7 @@ zmq::ws_decoder_t::ws_decoder_t (size_t bufsize_,
|
||||
_must_mask (must_mask_),
|
||||
_size (0)
|
||||
{
|
||||
memset (_tmpbuf, 0, sizeof (_tmpbuf));
|
||||
int rc = _in_progress.init ();
|
||||
errno_assert (rc == 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user