We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68a142d commit d4b3580Copy full SHA for d4b3580
numeric.c
@@ -429,8 +429,6 @@ Perl_grok_bin_oct_hex(pTHX_ const char *start,
429
/* Unroll the loop so that the first 8 digits are branchless except for the
430
* switch. A ninth hex one overflows a 32 bit word. */
431
switch (e - s) {
432
- case 0:
433
- return 0;
434
default:
435
if (UNLIKELY(! generic_isCC_(*s, class_bit))) break;
436
value = (value << shift) | XDIGIT_VALUE(*s);
@@ -470,7 +468,8 @@ Perl_grok_bin_oct_hex(pTHX_ const char *start,
470
468
471
469
472
s++;
473
-
+ /* FALLTHROUGH */
+ case 0:
474
if (LIKELY(s >= e)) {
475
return value;
476
}
0 commit comments