mirror of git://sourceware.org/git/glibc.git
nptl: Replace FALLTHROUGH with [[fallthrough]]
Theb9579342c6reinstate '/* FALLTHROUGH */' that were replaced the the C23 [[fallthrough]] by970364dac0.
This commit is contained in:
parent
951bb5c458
commit
20e92c9512
|
|
@ -76,8 +76,7 @@ __pthread_mutex_clocklock_common (pthread_mutex_t *mutex,
|
||||||
/* Check whether we already hold the mutex. */
|
/* Check whether we already hold the mutex. */
|
||||||
if (__glibc_unlikely (mutex->__data.__owner == id))
|
if (__glibc_unlikely (mutex->__data.__owner == id))
|
||||||
return EDEADLK;
|
return EDEADLK;
|
||||||
|
[[fallthrough]];
|
||||||
/* FALLTHROUGH */
|
|
||||||
|
|
||||||
case PTHREAD_MUTEX_TIMED_NP:
|
case PTHREAD_MUTEX_TIMED_NP:
|
||||||
/* Normal mutex. */
|
/* Normal mutex. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue