From fcb1e50c88eb6b0c9b13b4c209ffe709943e703d Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Thu, 21 May 2020 11:34:26 +0100 Subject: [PATCH 25/28] stress-madvise: voidify pthread_join return, we don't care about it Signed-off-by: Colin Ian King --- stress-madvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stress-madvise.c b/stress-madvise.c index 40d8e2dc4038..b9ecf038c13d 100644 --- a/stress-madvise.c +++ b/stress-madvise.c @@ -346,7 +346,7 @@ static int stress_madvise(const stress_args_t *args) } for (i = 0; i < NUM_PTHREADS; i++) { if (rets[i] == 0) - pthread_join(pthreads[i], NULL); + (void)pthread_join(pthreads[i], NULL); } } #else -- 2.21.3