Cleanup: unused assignation of ret value
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Aug 2018 21:22:44 +0000 (17:22 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Aug 2018 16:35:14 +0000 (12:35 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/lib/lttng-ctl/lttng-ctl.c

index f503fd1cbf42a25660a990d869c7adeb467cc823..b0fe8ab74af65ad5565d184cf304cb6da82f4dd1 100644 (file)
@@ -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;
 
                        probe_storage_req = ret;
                        comm_ext_at += ext_comm->userspace_probe_location_len;
-                       ret = 0;
                }
 
                storage_req += sizeof(struct lttng_event_extended);
                }
 
                storage_req += sizeof(struct lttng_event_extended);
This page took 0.025757 seconds and 4 git commands to generate.