From da49f814ff75f887dabe28b12d44b4e929f1b84a Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sun, 29 Apr 2018 00:38:29 +0200 Subject: [PATCH] coverity: #1435205 Unchecked return value Signed-off-by: Christian Brauner --- src/tests/attach.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/attach.c b/src/tests/attach.c index 6eff2b31b..a63b7bfbf 100644 --- a/src/tests/attach.c +++ b/src/tests/attach.c @@ -122,7 +122,7 @@ static int test_attach_lsm_func(struct lxc_container *ct) ret = 0; err2: - wait_for_pid(pid); + (void)wait_for_pid(pid); err1: close(pipefd[0]); close(pipefd[1]); @@ -176,7 +176,7 @@ static int test_attach_lsm_cmd(struct lxc_container *ct) ret = 0; err2: - wait_for_pid(pid); + (void)wait_for_pid(pid); err1: close(pipefd[0]); close(pipefd[1]); @@ -238,7 +238,7 @@ static int test_attach_func(struct lxc_container *ct) ret = 0; err2: - wait_for_pid(pid); + (void)wait_for_pid(pid); err1: close(pipefd[0]); close(pipefd[1]); -- 2.47.2