From ee834d3b93c3b5204d5786cf1e30091b51802fb4 Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Fri, 2 Jun 2017 16:24:28 +0000 Subject: [PATCH] vxlib.c (__gthread_once): Add missing value to nested return statement. 2017-06-02 Olivier Hainque * config/vxlib.c (__gthread_once): Add missing value to nested return statement. From-SVN: r248838 --- libgcc/config/vxlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/config/vxlib.c b/libgcc/config/vxlib.c index 3cb86907895..3df5d1f00b2 100644 --- a/libgcc/config/vxlib.c +++ b/libgcc/config/vxlib.c @@ -70,7 +70,7 @@ __gthread_once (__gthread_once_t *guard, void (*func)(void)) /* This can happen on powerpc, which is using all 32 bits of the gthread_once_t structure. */ if (guard->done) - return; + return 0; #endif taskDelay (1); } -- 2.30.2