[rtems commit] psxtmbarrier04/init.c: Fix warnings

Joel Sherrill joel at rtems.org
Sat Nov 30 22:00:59 UTC 2013


Module:    rtems
Branch:    master
Commit:    086494d50ed4c0f183872649d690e6d3817a4180
Changeset: http://git.rtems.org/rtems/commit/?id=086494d50ed4c0f183872649d690e6d3817a4180

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sat Nov 30 16:06:23 2013 -0600

psxtmbarrier04/init.c: Fix warnings

---

 testsuites/psxtmtests/psxtmbarrier04/init.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/testsuites/psxtmtests/psxtmbarrier04/init.c b/testsuites/psxtmtests/psxtmbarrier04/init.c
index 5985619..53ff694 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 */




More information about the vc mailing list