From: Brian Aker Date: Tue, 12 Jun 2012 17:48:05 +0000 (+0100) Subject: Fixup for style X-Git-Tag: 1.0.9~26 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=6ae03b4b29148dd9295e0eca7e84004b073a9ec0;p=m6w6%2Flibmemcached Fixup for style --- diff --git a/libmemcached/io.cc b/libmemcached/io.cc index 85474d3e..bafa28c8 100644 --- a/libmemcached/io.cc +++ b/libmemcached/io.cc @@ -477,9 +477,7 @@ memcached_return_t memcached_io_read(memcached_server_write_instance_st ptr, if (length > 1) { - size_t difference; - - difference= (length > ptr->read_buffer_length) ? ptr->read_buffer_length : length; + size_t difference= (length > ptr->read_buffer_length) ? ptr->read_buffer_length : length; memcpy(buffer_ptr, ptr->read_ptr, difference); length -= difference;