diff options
| author | Paul Eggert | 2017-05-16 13:24:33 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-05-16 13:24:52 -0700 |
| commit | c4ac34f22794344d44022b9c497b2f12cdb0f4a6 (patch) | |
| tree | a7abf2d1a5aeeaddcc4205498b695488836d9ac6 /src | |
| parent | 2e1bebe279b7108f74c3a1e7e30e8a43c2cfa31f (diff) | |
| download | emacs-c4ac34f22794344d44022b9c497b2f12cdb0f4a6.tar.gz emacs-c4ac34f22794344d44022b9c497b2f12cdb0f4a6.zip | |
Pacify GCC 7 with --enable-gcc-warnings
* src/regex.c (regex_compile): Swap labels, so that the
FALLTHROUGH immediately precedes the case label.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
| 2637 | || (syntax & RE_LIMITED_OPS)) | 2637 | || (syntax & RE_LIMITED_OPS)) |
| 2638 | goto normal_char; | 2638 | goto normal_char; |
| 2639 | FALLTHROUGH; | 2639 | FALLTHROUGH; |
| 2640 | handle_plus: | ||
| 2641 | case '*': | 2640 | case '*': |
| 2641 | handle_plus: | ||
| 2642 | /* If there is no previous pattern... */ | 2642 | /* If there is no previous pattern... */ |
| 2643 | if (!laststart) | 2643 | if (!laststart) |
| 2644 | { | 2644 | { |