1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-10-24 01:33:52 +03:00

nptl: Replace FALLTHROUGH with [[fallthrough]]

The b9579342c6 reinstate '/* FALLTHROUGH */' that were replaced
the the C23 [[fallthrough]] by 970364dac0.
This commit is contained in:
Adhemerval Zanella
2025-11-18 13:00:19 -03:00
parent 951bb5c458
commit 20e92c9512

View File

@@ -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. */