bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157)
diff --git a/Python/dtoa.c b/Python/dtoa.c
index efcadc3..01ca9b0 100644
--- a/Python/dtoa.c
+++ b/Python/dtoa.c
@@ -1454,7 +1454,7 @@
switch (c) {
case '-':
sign = 1;
- /* no break */
+ /* fall through */
case '+':
c = *++s;
}
@@ -1523,7 +1523,7 @@
switch (c) {
case '-':
esign = 1;
- /* no break */
+ /* fall through */
case '+':
c = *++s;
}
@@ -2441,7 +2441,7 @@
break;
case 2:
leftright = 0;
- /* no break */
+ /* fall through */
case 4:
if (ndigits <= 0)
ndigits = 1;
@@ -2449,7 +2449,7 @@
break;
case 3:
leftright = 0;
- /* no break */
+ /* fall through */
case 5:
i = ndigits + k + 1;
ilim = i;