From: Jérémie Galarneau Date: Wed, 29 Aug 2018 21:22:44 +0000 (-0400) Subject: Cleanup: unused assignation of ret value X-Git-Tag: v2.11.0-rc1~32 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=c2a1f65b2a2d3e702a4bf67c89acf12a1a2643ed Cleanup: unused assignation of ret value Signed-off-by: Jérémie Galarneau --- 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);