summaryrefslogtreecommitdiffstats
path: root/Python/getargs.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/getargs.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/getargs.c')
-rw-r--r--Python/getargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 471f729..4645b0f 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -2304,8 +2304,8 @@ skipitem(const char **p_format, va_list *p_va, int flags)
/* after 'e', only 's' and 't' is allowed */
goto err;
format++;
- /* explicit fallthrough to string cases */
}
+ /* fall through */
case 's': /* string */
case 'z': /* string or None */