size_t value_length;
size_t to_read;
char *value_ptr;
+ ssize_t read_length= 0;
+ memcached_return_t rrc;
if (ptr->root->flags.use_udp)
return MEMCACHED_NOT_SUPPORTED;
some people lazy about using the return length.
*/
to_read= (value_length) + 2;
- ssize_t read_length= 0;
- memcached_return_t rrc= memcached_io_read(ptr, value_ptr, to_read, &read_length);
+ rrc= memcached_io_read(ptr, value_ptr, to_read, &read_length);
if (rrc != MEMCACHED_SUCCESS)
return rrc;