From c4ac34f22794344d44022b9c497b2f12cdb0f4a6 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 16 May 2017 13:24:33 -0700 Subject: [PATCH] Pacify GCC 7 with --enable-gcc-warnings * src/regex.c (regex_compile): Swap labels, so that the FALLTHROUGH immediately precedes the case label. --- src/regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regex.c b/src/regex.c index ed848902086..240a91f2ba8 100644 --- a/src/regex.c +++ b/src/regex.c @@ -2637,8 +2637,8 @@ regex_compile (const_re_char *pattern, size_t size, || (syntax & RE_LIMITED_OPS)) goto normal_char; FALLTHROUGH; - handle_plus: case '*': + handle_plus: /* If there is no previous pattern... */ if (!laststart) { -- 2.39.2