Clean-up: remove useless assignment
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 1 Aug 2016 18:39:37 +0000 (14:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 1 Aug 2016 18:40:05 +0000 (14:40 -0400)
Reported-by Coverity Scan
CID 1243048 (#1 of 1): Unused value (UNUSED_VALUE)

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c

index 67df2fa2fbd0d5fd92545955327ba3bd81ba0f0d..0eb2db53815cbd2d0ff3f69f9218cef735c8b738 100644 (file)
@@ -1357,7 +1357,6 @@ restart:
                consumer_data->metadata_sock.lock = zmalloc(sizeof(pthread_mutex_t));
                if (consumer_data->metadata_sock.lock == NULL) {
                        PERROR("zmalloc pthread mutex");
-                       ret = -1;
                        goto error;
                }
                pthread_mutex_init(consumer_data->metadata_sock.lock, NULL);
This page took 0.029769 seconds and 5 git commands to generate.