]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
mach: Fix fallthrough warning
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 13 Jan 2025 23:11:33 +0000 (00:11 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 13 Jan 2025 23:11:35 +0000 (00:11 +0100)
gcc would not take the /* FALLTHROUGH */ inside the #ifdef

sysdeps/mach/clock_gettime.c

index d8c6681ec5e6ae715d1cd86133a3388392dd3268..381ccb8451fa99f4da3900429893feb74ae9ffc2 100644 (file)
@@ -52,8 +52,8 @@ __clock_gettime (clockid_t clock_id, struct timespec *ts)
            return 0;
          }
       }
-      /* FALLTHROUGH */
 #endif
+      /* FALLTHROUGH */
 
     case CLOCK_REALTIME:
       {