mirror of
https://sourceware.org/git/glibc.git
synced 2026-10-24 01:33:52 +03:00
nptl: Replace FALLTHROUGH with [[fallthrough]]
Theb9579342c6reinstate '/* FALLTHROUGH */' that were replaced the the C23 [[fallthrough]] by970364dac0.
This commit is contained in:
@@ -76,8 +76,7 @@ __pthread_mutex_clocklock_common (pthread_mutex_t *mutex,
|
||||
/* Check whether we already hold the mutex. */
|
||||
if (__glibc_unlikely (mutex->__data.__owner == id))
|
||||
return EDEADLK;
|
||||
|
||||
/* FALLTHROUGH */
|
||||
[[fallthrough]];
|
||||
|
||||
case PTHREAD_MUTEX_TIMED_NP:
|
||||
/* Normal mutex. */
|
||||
|
||||
Reference in New Issue
Block a user