diff --git a/src/tests/attach.c b/src/tests/attach.c index 2c771278c..452ba8652 100644 --- a/src/tests/attach.c +++ b/src/tests/attach.c @@ -124,7 +124,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]); @@ -178,7 +178,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]); @@ -240,7 +240,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]);