projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f876304
)
vxlib.c (__gthread_once): Add missing value to nested return statement.
author
Olivier Hainque
<hainque@gcc.gnu.org>
Fri, 2 Jun 2017 16:24:28 +0000
(16:24 +0000)
committer
Olivier Hainque
<hainque@gcc.gnu.org>
Fri, 2 Jun 2017 16:24:28 +0000
(16:24 +0000)
2017-06-02 Olivier Hainque <hainque@adacore.com>
* config/vxlib.c (__gthread_once): Add missing value to
nested return statement.
From-SVN: r248838
libgcc/config/vxlib.c
patch
|
blob
|
history
diff --git
a/libgcc/config/vxlib.c
b/libgcc/config/vxlib.c
index 3cb86907895fc95d4756fd44d911756db8d1180c..3df5d1f00b218ca58589364b588a90168942a92c 100644
(file)
--- 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);
}