V1001 The 'ptr' variable is assigned but is not used until the end of the function.

This commit is contained in:
pavel.pimenov
2017-09-04 15:15:35 +03:00
parent 7afd6ab5ef
commit 51ac7d28c5
2 changed files with 1 additions and 2 deletions

View File

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