Commit c4ac34f2 authored by Paul Eggert's avatar Paul Eggert

Pacify GCC 7 with --enable-gcc-warnings

* src/regex.c (regex_compile): Swap labels, so that the
FALLTHROUGH immediately precedes the case label.
parent 2e1bebe2
......@@ -2637,8 +2637,8 @@ regex_compile (const_re_char *pattern, size_t size,
|| (syntax & RE_LIMITED_OPS))
goto normal_char;
case '*':
/* If there is no previous pattern... */
if (!laststart)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment