[hurd,commited] mach: Fix fallthrough warning
Samuel Thibault
samuel.thibault@ens-lyon.org
Mon Jan 13 23:12:54 GMT 2025
gcc would not take the /* FALLTHROUGH */ inside the #ifdef
---
sysdeps/mach/clock_gettime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/mach/clock_gettime.c b/sysdeps/mach/clock_gettime.c
index d8c6681ec5..381ccb8451 100644
--- a/sysdeps/mach/clock_gettime.c
+++ b/sysdeps/mach/clock_gettime.c
@@ -52,8 +52,8 @@ __clock_gettime (clockid_t clock_id, struct timespec *ts)
return 0;
}
}
- /* FALLTHROUGH */
#endif
+ /* FALLTHROUGH */
case CLOCK_REALTIME:
{
--
2.45.2
More information about the Libc-alpha
mailing list