From 77fc2bc2ed27050498e29eb87585625449f56d05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 1 Aug 2016 15:16:38 -0400 Subject: [PATCH] Fix: unchecked init_pipe return value MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported-by Coverity Scan: CID 1360533 (#1 of 1): Logically dead code (DEADCODE) Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/ht-cleanup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/ht-cleanup.c b/src/bin/lttng-sessiond/ht-cleanup.c index beb4e89dc..a3b046b88 100644 --- a/src/bin/lttng-sessiond/ht-cleanup.c +++ b/src/bin/lttng-sessiond/ht-cleanup.c @@ -234,7 +234,7 @@ int init_ht_cleanup_thread(pthread_t *thread) goto error; } - init_pipe(ht_cleanup_quit_pipe); + ret = init_pipe(ht_cleanup_quit_pipe); if (ret) { goto error_quit_pipe; } -- 2.34.1