From: Jonathan Rajotte Date: Tue, 25 Jul 2017 20:29:53 +0000 (-0400) Subject: Cleanup: remove dead assignment X-Git-Tag: v2.11.0-rc1~483 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cab6931e14405d5d966ced712028ede43b2d4cff;p=lttng-tools.git Cleanup: remove dead assignment ret is not used when jumping to error_no_alloc. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-relayd/stream.c b/src/bin/lttng-relayd/stream.c index 04ff467de..2bc815813 100644 --- a/src/bin/lttng-relayd/stream.c +++ b/src/bin/lttng-relayd/stream.c @@ -77,7 +77,6 @@ struct relay_stream *stream_create(struct ctf_trace *trace, stream = zmalloc(sizeof(struct relay_stream)); if (stream == NULL) { PERROR("relay stream zmalloc"); - ret = -1; goto error_no_alloc; }