From: Jonathan Rajotte Date: Tue, 25 Jul 2017 21:43:58 +0000 (-0400) Subject: Cleanup: remove dead increment of pointer X-Git-Tag: v2.11.0-rc1~479 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f1f1fab76d88a4670ae0895f8b71c881bc684b85;p=lttng-tools.git Cleanup: remove dead increment of pointer No further memcpy is performed no need to increment the pointer. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/buffer-usage.c b/src/common/buffer-usage.c index 4e9350919..16292ea91 100644 --- a/src/common/buffer-usage.c +++ b/src/common/buffer-usage.c @@ -146,7 +146,6 @@ ssize_t lttng_condition_buffer_usage_serialize( memcpy(buf, usage->session_name, session_name_len); buf += session_name_len; memcpy(buf, usage->channel_name, channel_name_len); - buf += channel_name_len; } ret = size; end: