problem: valgrind complain about uninitialized value

Solution: initialize the value
This commit is contained in:
somdoron 2019-10-04 17:08:01 +03:00
parent 977f137a83
commit 2018be643a

View File

@ -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);