]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Cleanup some recently added whitespace.
authorCollin Funk <collin.funk1@gmail.com>
Thu, 30 Oct 2025 01:34:45 +0000 (18:34 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Fri, 31 Oct 2025 01:56:58 +0000 (18:56 -0700)
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
25 files changed:
locale/programs/charmap.c
locale/programs/locfile-kw.h
locale/programs/repertoire.c
malloc/mcheck-impl.c
misc/mntent_r.c
nis/nis_call.c
nptl/pthread_mutex_trylock.c
nptl/pthread_mutex_unlock.c
nss/digits_dots.c
posix/execvpe.c
posix/wordexp.c
resolv/base64.c
resolv/ns_ttl.c
resolv/nss_dns/dns-host.c
resolv/res_hconf.c
resolv/res_query.c
stdio-common/printf-parsemb.c
stdio-common/vfscanf-internal.c
sunrpc/svc_unix.c
sunrpc/xdr.c
sysdeps/ieee754/ldbl-96/e_lgammal_r.c
sysdeps/x86/cpu-features.c
sysdeps/x86/readelflib.c
time/strftime_l.c
time/strptime_l.c

index 6927f9be7efd28b73293a097c239a0b405429c37..cdcc7312ba0e30a75bea8ed407b4b03ced01a916 100644 (file)
@@ -548,7 +548,7 @@ character sets with locking states are not supported"));
              state = 4;
              continue;
            }
-         [[fallthrough]]               ;
+         [[fallthrough]];
 
        case 5:
          if (nowtok != tok_charcode)
@@ -712,7 +712,7 @@ only WIDTH definitions are allowed to follow the CHARMAP definition"));
              state = 95;
              continue;
            }
-         [[fallthrough]]               ;
+         [[fallthrough]];
 
        case 96:
          if (nowtok != tok_number)
index dd7ea27615d8aa3c0a27f18f74c2759d5531b87b..f77cf439ff08f86ffc60b43693a862b60b9f3789 100644 (file)
@@ -105,18 +105,18 @@ hash (register const char *str, register size_t len)
     {
       default:
         hval += asso_values[(unsigned char)str[8]];
-      [[fallthrough]]          ;
+      [[fallthrough]];
       case 8:
       case 7:
       case 6:
       case 5:
         hval += asso_values[(unsigned char)str[4]];
-      [[fallthrough]]          ;
+      [[fallthrough]];
       case 4:
       case 3:
       case 2:
         hval += asso_values[(unsigned char)str[1]];
-      [[fallthrough]]          ;
+      [[fallthrough]];
       case 1:
         hval += asso_values[(unsigned char)str[0]];
         break;
index 591d952fadedbbaa0f742e8b2bae5f40baa02bb1..365d9e60f043a6b55d1a3673e02336eb5f12212b 100644 (file)
@@ -206,7 +206,7 @@ argument to <%s> must be a single character"),
 
          /* Otherwise we start reading the character definitions.  */
          state = 2;
-         [[fallthrough]]               ;
+         [[fallthrough]];
 
        case 2:
          /* We are now are in the body.  Each line
@@ -254,7 +254,7 @@ argument to <%s> must be a single character"),
              state = 4;
              continue;
            }
-         [[fallthrough]]               ;
+         [[fallthrough]];
 
        case 5:
          /* We expect a value of the form <Uxxxx> or <Uxxxxxxxx> where
index 6f60c8fa34e6db44a86e4596b662e1b8bd87f91b..32d14a2bae2c14cb75aa5a7b5a07dcf178cc3808 100644 (file)
@@ -389,7 +389,7 @@ __mcheck_initialize (void (*func) (enum mcheck_status), bool in_pedantic)
     case -1:
       /* Called before the first malloc was called.  */
       __debug_free (__debug_malloc (0));
-      [[fallthrough]]          ;
+      [[fallthrough]];
     case 0:
       /* Called through the initializer hook.  */
       __malloc_debug_enable (MALLOC_MCHECK_HOOK);
index 26e8ade30e5da8178fc135ef48a45178ca054ace..c5c3918f582bb9e9d4ec3eed1246cf10b7bf7549 100644 (file)
@@ -167,10 +167,10 @@ get_mnt_entry (FILE *stream, struct mntent *mp, char *buffer, int bufsiz)
     {
     case 0:
       mp->mnt_freq = 0;
-      [[fallthrough]]          ;
+      [[fallthrough]];
     case 1:
       mp->mnt_passno = 0;
-      [[fallthrough]]          ;
+      [[fallthrough]];
     case 2:
       break;
     }
index 357bfadbbccad8b8ecd86a15f48ff7444dd02645..16041c1ab365c186abef57f29802322fb81e9124 100644 (file)
@@ -324,7 +324,7 @@ __do_niscall3 (dir_binding *dbp, u_long prog, xdrproc_t xargs, caddr_t req,
                }
              /* Yes, the missing break is correct. If we doesn't have to
                 start a callback, look if we have to search another server */
-             [[fallthrough]]           ;
+             [[fallthrough]];
            case NIS_LOOKUP:
            case NIS_ADD:
            case NIS_MODIFY:
index bba550683b5d2cb1bb065dd49995c3373a10ad2f..c1ab3606b097bb100e145f9993e143c155962f5e 100644 (file)
@@ -68,7 +68,7 @@ ___pthread_mutex_trylock (pthread_mutex_t *mutex)
 
     case PTHREAD_MUTEX_TIMED_NP:
       FORCE_ELISION (mutex, goto elision);
-      [[fallthrough]]          ;
+      [[fallthrough]];
     case PTHREAD_MUTEX_ADAPTIVE_NP:
     case PTHREAD_MUTEX_ERRORCHECK_NP:
       if (lll_trylock (mutex->__data.__lock) != 0)
index ef224c09e55dd92e55741b9b558a74f4aab33be1..19cd2dcdb76201d7822b074351b5f51b7284d32d 100644 (file)
@@ -319,7 +319,7 @@ __pthread_mutex_unlock_full (pthread_mutex_t *mutex, int decr)
       if (mutex->__data.__owner != THREAD_GETMEM (THREAD_SELF, tid)
          || (mutex->__data.__lock & ~ PTHREAD_MUTEX_PRIO_CEILING_MASK) == 0)
        return EPERM;
-      [[fallthrough]]          ;
+      [[fallthrough]];
 
     case PTHREAD_MUTEX_PP_NORMAL_NP:
     case PTHREAD_MUTEX_PP_ADAPTIVE_NP:
index 7de92344ca2cf4144225ed3f14281d1a26f0315f..8cfb3426260562511f9e1fb7bce05b33acc9b765 100644 (file)
@@ -230,7 +230,7 @@ __nss_hostname_digits_dots_context (struct resolv_context *ctx,
                  addr_size = IN6ADDRSZ;
                  break;
                }
-             [[fallthrough]]           ;
+             [[fallthrough]];
 
            case AF_INET:
              /* This is not possible.  We cannot represent an IPv6 address
index 52115055df7235c30f98df07b310dc9929a1bc0e..c139dfe8fde6b12dcf2dc4e20e4233157e53384e 100644 (file)
@@ -149,7 +149,7 @@ __execvpe_common (const char *file, char *const argv[], char *const envp[],
             up finding no executable we can use, we want to diagnose
             that we did find one but were denied access.  */
            got_eacces = true;
-           [[fallthrough]]             ;
+           [[fallthrough]];
          case ENOENT:
          case ESTALE:
          case ENOTDIR:
index 88058278b0fd56ee68f0f9d9300cc26ccea8ab62..c6fefa008982dbbc8b5c1cf8272fe60f26223b7b 100644 (file)
@@ -783,7 +783,7 @@ parse_arith (char **word, size_t *word_length, size_t *max_length,
 
        case '(':
          ++paren_depth;
-         [[fallthrough]]               ;
+         [[fallthrough]];
        default:
          expr = w_addchar (expr, &expr_length, &expr_maxlen, words[*offset]);
          if (expr == NULL)
@@ -2103,7 +2103,7 @@ parse_backtick (char **word, size_t *word_length, size_t *max_length,
 
        case '\'':
          squoting = 1 - squoting;
-         [[fallthrough]]               ;
+         [[fallthrough]];
        default:
          comm = w_addchar (comm, &comm_length, &comm_maxlen, words[*offset]);
          if (comm == NULL)
index b09292e067ff115dd0f7e366209ef8fe991fa3e1..805993ac54f65e46fca1d9557354be3d62432049 100644 (file)
@@ -275,7 +275,7 @@ b64_pton (char const *src, u_char *target, size_t targsize)
                                return (-1);
                        ch = *src++;            /* Skip the = */
                        /* Fall through to "single trailing =" case. */
-                       [[fallthrough]]         ;
+                       [[fallthrough]];
 
                case 3:         /* Valid, means two bytes of info */
                        /*
index e29be12920ece56adc95ecc527a776635b83c84b..5156b9d4df7659fc31f3c35310b5de1962775704 100644 (file)
@@ -113,13 +113,13 @@ ns_parse_ttl(const char *src, u_long *dst) {
                        ch = toupper(ch);
                switch (ch) {
                case 'W':  tmp *= 7;
-                  [[fallthrough]]              ;
+                  [[fallthrough]];
                case 'D':  tmp *= 24;
-                  [[fallthrough]]              ;
+                  [[fallthrough]];
                case 'H':  tmp *= 60;
-                  [[fallthrough]]              ;
+                  [[fallthrough]];
                case 'M':  tmp *= 60;
-                  [[fallthrough]]              ;
+                  [[fallthrough]];
                case 'S':  break;
                default:   goto einval;
                }
index d8856653d88cf36d716b2fc5b90c96c80003fe02..8e5d8e1f6e509e0e6b04c325861bff370d097ee4 100644 (file)
@@ -235,7 +235,7 @@ gethostbyname3_context (struct resolv_context *ctx,
        case EMFILE:
        case ENFILE:
          h_errno = NETDB_INTERNAL;
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case ECONNREFUSED:
        case ETIMEDOUT:
          status = NSS_STATUS_UNAVAIL;
@@ -444,7 +444,7 @@ _nss_dns_gethostbyname4_r (const char *name, struct gaih_addrtuple **pat,
        case EMFILE:
        case ENFILE:
          h_errno = NETDB_INTERNAL;
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case ECONNREFUSED:
        case ETIMEDOUT:
          status = NSS_STATUS_UNAVAIL;
index 760de6966418744c9efb4031257b3335ab0abcb0..964cbb7a5c091f756443e3d0ad04f393a59ad57c 100644 (file)
@@ -146,7 +146,7 @@ arg_trimdomain_list (const char *fname, int line_num, const char *args)
              free (buf);
              return NULL;
            }
-         [[fallthrough]]               ;
+         [[fallthrough]];
        default:
          break;
        }
index 1eb2287feed45ba32c1cb619093dee9354cf75b9..039c25a3c3571ce3065e7aacfa911aa0d22b83e6 100644 (file)
@@ -277,7 +277,7 @@ __res_context_query (struct resolv_context *ctx, const char *name,
                            || (hp2->rcode == NOERROR
                                && ntohs (hp2->ancount) != 0))
                                goto success;
-                       [[fallthrough]]         ;
+                       [[fallthrough]];
                case REFUSED:
                default:
                        RES_SET_H_ERRNO(statp, NO_RECOVERY);
@@ -477,7 +477,7 @@ __res_context_search (struct resolv_context *ctx,
                        switch (statp->res_h_errno) {
                        case NO_DATA:
                                got_nodata++;
-                               [[fallthrough]]         ;
+                               [[fallthrough]];
                        case HOST_NOT_FOUND:
                                /* keep trying */
                                break;
@@ -487,7 +487,7 @@ __res_context_search (struct resolv_context *ctx,
                                        got_servfail++;
                                        break;
                                }
-                               [[fallthrough]]         ;
+                               [[fallthrough]];
                        default:
                                /* anything else implies that we're done */
                                done++;
index 21625036d7de6b8493c1bf03ddfa823a73d2c656..23aefd89bf65be27bcff8b3d73fa62eecdaf36b7 100644 (file)
@@ -272,7 +272,7 @@ __parse_one_specmb (const UCHAR_T *format, size_t posn,
        if (*format != L_('l'))
          break;
        ++format;
-       [[fallthrough]]         ;
+       [[fallthrough]];
       case L_('L'):
        /* doubles are long doubles, and ints are long long ints.  */
       case L_('q'):
index 0870a42c4e1d01dcff967b35c90775c67ba1aa82..4fa6138ead578c7b1ef4c170c242f55b8178654a 100644 (file)
@@ -1258,7 +1258,7 @@ __vfscanf_internal (FILE *s, const char *format, va_list argptr,
                }
              break;
            }
-         [[fallthrough]]               ;
+         [[fallthrough]];
 
        case L_('S'):
          {
index c8559ea2652b2ffef658a1ed244865622a4b5783..e42529700e77ea16d348967dd2bd4bb6f37971fb 100644 (file)
@@ -440,7 +440,7 @@ readunix (char *xprtptr, char *buf, int len)
        case -1:
          if (errno == EINTR)
            continue;
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case 0:
          goto fatal_err;
        default:
index e8752a3e529bd09f440b6650ff67d9e49a2aa0af..1d9643afc6f22b8c8d4b960e01bb6758d8704d6d 100644 (file)
@@ -113,7 +113,7 @@ xdr_int (XDR *xdrs, int *ip)
          return FALSE;
        }
       *ip = (int) l;
-      [[fallthrough]]          ;
+      [[fallthrough]];
     case XDR_FREE:
       return TRUE;
     }
@@ -153,7 +153,7 @@ xdr_u_int (XDR *xdrs, u_int *up)
          return FALSE;
        }
       *up = (u_int) (u_long) l;
-      [[fallthrough]]          ;
+      [[fallthrough]];
     case XDR_FREE:
       return TRUE;
     }
@@ -508,7 +508,7 @@ xdr_enum (XDR *xdrs, enum_t *ep)
              return FALSE;
            }
          *ep = l;
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case XDR_FREE:
          return TRUE;
 
@@ -631,7 +631,7 @@ xdr_bytes (XDR *xdrs, char **cpp, u_int *sizep, u_int maxsize)
          (void) __fxprintf (NULL, "%s: %s", __func__, _("out of memory\n"));
          return FALSE;
        }
-      [[fallthrough]]          ;
+      [[fallthrough]];
 
     case XDR_ENCODE:
       return xdr_opaque (xdrs, sp, nodesize);
@@ -752,7 +752,7 @@ xdr_string (XDR *xdrs, char **cpp, u_int maxsize)
        {
          return TRUE;          /* already free */
        }
-      [[fallthrough]]          ;
+      [[fallthrough]];
     case XDR_ENCODE:
       if (sp == NULL)
        return FALSE;
@@ -792,7 +792,7 @@ xdr_string (XDR *xdrs, char **cpp, u_int maxsize)
          return FALSE;
        }
       sp[size] = 0;
-      [[fallthrough]]          ;
+      [[fallthrough]];
 
     case XDR_ENCODE:
       return xdr_opaque (xdrs, sp, size);
index 7e373201eec922cd4f2e4b4bab9cbd6ff6c7c140..94bdc54b3005e45a7828d05c7c546222ef2630c8 100644 (file)
@@ -402,16 +402,16 @@ __ieee754_lgammal_r (long double x, int *signgamp)
        {
        case 7:
          z *= (y + 6.0);       /* FALLTHRU */
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case 6:
          z *= (y + 5.0);       /* FALLTHRU */
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case 5:
          z *= (y + 4.0);       /* FALLTHRU */
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case 4:
          z *= (y + 3.0);       /* FALLTHRU */
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case 3:
          z *= (y + 2.0);       /* FALLTHRU */
          r += __ieee754_logl (z);
index d3409a5b3f0b51158c288833ae7319d6364297fc..5d4437ffdfae41e958e8a9500673c95c63642ebc 100644 (file)
@@ -798,7 +798,7 @@ init_cpu_features (struct cpu_features *cpu_features)
                 processor.  */
              if (stepping > 0xc)
                break;
-             [[fallthrough]]           ;
+             [[fallthrough]];
            case INTEL_BIGCORE_SKYLAKE:
              /* Disable Intel TSX and enable RTM_ALWAYS_ABORT for
                 processors listed in:
@@ -937,7 +937,7 @@ disable_tsx:
             non-temporal on all Skylake servers. */
          cpu_features->preferred[index_arch_Avoid_Non_Temporal_Memset]
            |= bit_arch_Avoid_Non_Temporal_Memset;
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case INTEL_BIGCORE_COMETLAKE:
        case INTEL_BIGCORE_SKYLAKE:
        case INTEL_BIGCORE_KABYLAKE:
@@ -1091,7 +1091,7 @@ disable_tsx:
              /* Yongfeng and Shijidadao mircoarch tuning.  */
            case 0x5b:
              cpu_features->cachesize_non_temporal_divisor = 2;
-             [[fallthrough]]           ;
+             [[fallthrough]];
            case 0x6b:
              cpu_features->preferred[index_arch_AVX_Fast_Unaligned_Load]
                  &= ~bit_arch_AVX_Fast_Unaligned_Load;
index 9b9d626176b26cb66c755bf59be476a76454cb10..75e11387d7f478c6a6b74daf2ce0a7d36500ddd9 100644 (file)
@@ -44,7 +44,7 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
     case EM_386:
       if (elf_header->e_ident[EI_CLASS] == ELFCLASS32)
        break;
-      [[fallthrough]]          ;
+      [[fallthrough]];
     default:
       error (0, 0, _("%s is for unknown machine %d.\n"),
             file_name, elf_header->e_machine);
index 307e7e8fd61113d981b880844d54e0ac19233c5c..1fcf0388519f31e91890cdbe262e1f25f62d5bd4 100644 (file)
@@ -1093,7 +1093,7 @@ __strftime_internal (CHAR_T *s, size_t maxsize, const CHAR_T *format,
 #if !defined _NL_CURRENT && HAVE_STRFTIME
          format_char = L_('p');
 #endif
-         [[fallthrough]]               ;
+         [[fallthrough]];
 
        case L_('p'):
          if (change_case)
@@ -1433,7 +1433,7 @@ __strftime_internal (CHAR_T *s, size_t maxsize, const CHAR_T *format,
 
        case L_('\0'):          /* GNU extension: % at end of format.  */
            --f;
-           [[fallthrough]]             ;
+           [[fallthrough]];
        default:
          /* Unknown format; output the format, including the '%',
             since this is most likely the right thing to do if a
index 7e6f974aeb645eaa018916f2b9f08b0276cda44f..e9b20fc507267f35440b948862247c53f8d7390a 100644 (file)
@@ -552,7 +552,7 @@ __strptime_internal (const char *rp, const char *fmt, struct tm *tmp,
              s.decided = raw;
            }
 #endif
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case 'D':
          /* Match standard day format.  */
          if (!recursive (HERE_D_FMT))
@@ -706,7 +706,7 @@ __strptime_internal (const char *rp, const char *fmt, struct tm *tmp,
              s.decided = raw;
            }
 #endif
-         [[fallthrough]]               ;
+         [[fallthrough]];
        case 'T':
          if (!recursive (HERE_T_FMT))
            return NULL;