From: Jérémie Galarneau Date: Mon, 1 Aug 2016 19:16:38 +0000 (-0400) Subject: Fix: unchecked init_pipe return value X-Git-Tag: v2.9.0-rc1~78 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=77fc2bc2ed27050498e29eb87585625449f56d05 Fix: unchecked init_pipe return value Reported-by Coverity Scan: CID 1360533 (#1 of 1): Logically dead code (DEADCODE) Signed-off-by: Jérémie Galarneau --- 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; }