summaryrefslogtreecommitdiff
path: root/libgcc/config
diff options
context:
space:
mode:
authorhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>2017-06-02 16:24:28 +0000
committerhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>2017-06-02 16:24:28 +0000
commit8c2cd6392124a1172e1416af18e69cf866c3eccb (patch)
tree681224f807833a75fc89c50faab8a1d777b46aae /libgcc/config
parent466c0860a670f775b3b1a221013a7324369d0efd (diff)
downloadgcc-8c2cd6392124a1172e1416af18e69cf866c3eccb.tar.gz
2017-06-02 Olivier Hainque <hainque@adacore.com>
* config/vxlib.c (__gthread_once): Add missing value to nested return statement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248838 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config')
-rw-r--r--libgcc/config/vxlib.c2
1 files changed, 1 insertions, 1 deletions
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);
}