From c2a1f65b2a2d3e702a4bf67c89acf12a1a2643ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 29 Aug 2018 17:22:44 -0400 Subject: [PATCH] Cleanup: unused assignation of ret value MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/lib/lttng-ctl/lttng-ctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/lttng-ctl/lttng-ctl.c b/src/lib/lttng-ctl/lttng-ctl.c index f503fd1cb..b0fe8ab74 100644 --- a/src/lib/lttng-ctl/lttng-ctl.c +++ b/src/lib/lttng-ctl/lttng-ctl.c @@ -2039,7 +2039,6 @@ int lttng_list_events(struct lttng_handle *handle, probe_storage_req = ret; comm_ext_at += ext_comm->userspace_probe_location_len; - ret = 0; } storage_req += sizeof(struct lttng_event_extended); -- 2.34.1