]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
factor: FALLTHROUGH instead of break
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Jun 2025 23:22:55 +0000 (16:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jul 2025 00:12:39 +0000 (17:12 -0700)
* src/factor.c (print_factors): Use FALLTHROUGH
to make it clear that the "Use GMP" comment also applies here.

src/factor.c

index 8ec1f5aba34f5e71eba908084b757b35bbfe684e..1b4a4463303570c70438f57cf9dfab6f19a24f1d 100644 (file)
@@ -2090,8 +2090,7 @@ print_factors (char const *input)
           print_factors_single (t1, t0);
           return true;
         }
-      break;
-
+      FALLTHROUGH;
     case LONGINT_OVERFLOW:
       /* Try GMP.  */
       break;