From: Paul Eggert Date: Tue, 16 May 2017 20:24:33 +0000 (-0700) Subject: Pacify GCC 7 with --enable-gcc-warnings X-Git-Tag: emacs-26.0.90~521^2~388 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c4ac34f22794344d44022b9c497b2f12cdb0f4a6;p=emacs.git Pacify GCC 7 with --enable-gcc-warnings * src/regex.c (regex_compile): Swap labels, so that the FALLTHROUGH immediately precedes the case label. --- 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) {