From 086494d50ed4c0f183872649d690e6d3817a4180 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 30 Nov 2013 16:06:23 -0600 Subject: psxtmbarrier04/init.c: Fix warnings --- testsuites/psxtmtests/psxtmbarrier04/init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testsuites/psxtmtests') diff --git a/testsuites/psxtmtests/psxtmbarrier04/init.c b/testsuites/psxtmtests/psxtmbarrier04/init.c index 598561916e..53ff694ab1 100644 --- a/testsuites/psxtmtests/psxtmbarrier04/init.c +++ b/testsuites/psxtmtests/psxtmbarrier04/init.c @@ -77,6 +77,9 @@ void *POSIX_Init( */ benchmark_timer_initialize(); status = pthread_barrier_wait( &barrier ); + + /* avoid warning but should not be executed */ + return NULL; } /* configuration information */ -- cgit v1.2.3