Commit ee834d3b by Olivier Hainque

vxlib.c (__gthread_once): Add missing value to nested return statement.

2017-06-02  Olivier Hainque  <hainque@adacore.com>

	* config/vxlib.c (__gthread_once): Add missing value to
	nested return statement.

From-SVN: r248838
parent f8763042
...@@ -70,7 +70,7 @@ __gthread_once (__gthread_once_t *guard, void (*func)(void)) ...@@ -70,7 +70,7 @@ __gthread_once (__gthread_once_t *guard, void (*func)(void))
/* This can happen on powerpc, which is using all 32 bits /* This can happen on powerpc, which is using all 32 bits
of the gthread_once_t structure. */ of the gthread_once_t structure. */
if (guard->done) if (guard->done)
return; return 0;
#endif #endif
taskDelay (1); taskDelay (1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment