From: Olivier Hainque Date: Fri, 2 Jun 2017 16:24:28 +0000 (+0000) Subject: vxlib.c (__gthread_once): Add missing value to nested return statement. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee834d3b93c3b5204d5786cf1e30091b51802fb4;p=gcc.git 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 --- 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); }