Commit f4b32aa7 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #2734 from pavel-pimenov/fix-v1001

Variable is assigned but is not used until the end of the function
parents 197ae832 51ac7d28
......@@ -166,7 +166,7 @@ void zmq::mechanism_t::make_command_with_basic_properties (
memcpy (ptr, prefix, prefix_len);
ptr += prefix_len;
ptr += add_basic_properties (
add_basic_properties (
ptr, command_size - (ptr - (unsigned char *) msg_->data ()));
}
......
......@@ -137,7 +137,6 @@ int zmq::plain_client_t::produce_hello (msg_t *msg_) const
*ptr++ = static_cast <unsigned char> (password.length ());
memcpy (ptr, password.c_str (), password.length ());
ptr += password.length ();
return 0;
}
......
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