summaryrefslogtreecommitdiffstats
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2017-08-21 11:09:59 (GMT)
committerGitHub <noreply@github.com>2017-08-21 11:09:59 (GMT)
commitf432a3234f9f2ee09bd40be03e06bf72865ee375 (patch)
treec3efacc3e10d4bb12216be2eafae64f144ecfb5e /Python/formatter_unicode.c
parent0267128aa4dc7c383c341c19833c5d506eae9c93 (diff)
downloadcpython-f432a3234f9f2ee09bd40be03e06bf72865ee375.zip
cpython-f432a3234f9f2ee09bd40be03e06bf72865ee375.tar.gz
cpython-f432a3234f9f2ee09bd40be03e06bf72865ee375.tar.bz2
bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157)
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r--Python/formatter_unicode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index a2c2b36..9192bfd 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -312,6 +312,7 @@ parse_internal_render_format_spec(PyObject *format_spec,
format->thousands_separators = LT_UNDER_FOUR_LOCALE;
break;
}
+ /* fall through */
default:
invalid_comma_type(format->type);
return 0;