From: Jérémie Galarneau Date: Mon, 1 Aug 2016 18:39:37 +0000 (-0400) Subject: Clean-up: remove useless assignment X-Git-Tag: v2.9.0-rc1~80 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9519a2bd6d842d99088bf7d0eeaf4b3605030273;p=lttng-tools.git Clean-up: remove useless assignment Reported-by Coverity Scan CID 1243048 (#1 of 1): Unused value (UNUSED_VALUE) Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 67df2fa2f..0eb2db538 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -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);