From a6b377020bc88115b21bb835ab86b117d8769d4e Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Wed, 26 Jul 2017 10:53:53 -0400 Subject: [PATCH] Cleanup: useless reset of ret to zero MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ret is overwritten in the normal code flow. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/ust-consumer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bin/lttng-sessiond/ust-consumer.c b/src/bin/lttng-sessiond/ust-consumer.c index 43bf2616a..82fd0ea07 100644 --- a/src/bin/lttng-sessiond/ust-consumer.c +++ b/src/bin/lttng-sessiond/ust-consumer.c @@ -321,7 +321,6 @@ int ust_consumer_get_channel(struct consumer_socket *socket, free(stream); if (ret == -LTTNG_UST_ERR_NOENT) { DBG3("UST app consumer has no more stream available"); - ret = 0; break; } if (ret != -EPIPE) { -- 2.34.1