summaryrefslogtreecommitdiff
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2017-08-21 13:09:59 +0200
committerGitHub <noreply@github.com>2017-08-21 13:09:59 +0200
commitf432a3234f9f2ee09bd40be03e06bf72865ee375 (patch)
treec3efacc3e10d4bb12216be2eafae64f144ecfb5e /Python/formatter_unicode.c
parent0267128aa4dc7c383c341c19833c5d506eae9c93 (diff)
downloadcpython-git-f432a3234f9f2ee09bd40be03e06bf72865ee375.tar.gz
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 a2c2b3627c..9192bfd6a6 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;