From a268e6664fd2d840b77bf4c30d5e8ccf62b71576 Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Thu, 21 May 2020 11:33:55 +0100 Subject: [PATCH 24/28] stress-inode-flags: voidify pthread_join return, we don't care about it Signed-off-by: Colin Ian King --- stress-inode-flags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stress-inode-flags.c b/stress-inode-flags.c index b6ba3a3c7f8b..e1ad171d961f 100644 --- a/stress-inode-flags.c +++ b/stress-inode-flags.c @@ -250,7 +250,7 @@ static int stress_inode_flags(const stress_args_t *args) for (i = 0; i < MAX_INODE_FLAG_THREADS; i++) { if (ret[i] == 0) { - pthread_join(pthreads[i], NULL); + (void)pthread_join(pthreads[i], NULL); if (pa[i].pthread_ret < 0) rc = EXIT_FAILURE; } -- 2.21.3