Fix: unchecked init_pipe return value
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 1 Aug 2016 19:16:38 +0000 (15:16 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 1 Aug 2016 19:16:38 +0000 (15:16 -0400)
Reported-by Coverity Scan:
CID 1360533 (#1 of 1): Logically dead code (DEADCODE)

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ht-cleanup.c

index beb4e89dc8e71eff082cef0350a87e5f98eb14b0..a3b046b8834a2eaaa7dd74b9bb0bb0beb6cff806 100644 (file)
@@ -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;
        }
This page took 0.0256 seconds and 4 git commands to generate.