diff options
author | pfg <pfg@FreeBSD.org> | 2014-05-09 01:20:39 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-05-09 01:20:39 +0000 |
commit | f3f247f508a17f099743bb8bf03cbe0e46e34538 (patch) | |
tree | 36212b85e0e42c546dc9de72308b7897f27eb04d /lib/libc/regex/regcomp.c | |
parent | aaa6b80bb3815234e2f1d109c77aa0b2d08b0c97 (diff) | |
download | FreeBSD-src-f3f247f508a17f099743bb8bf03cbe0e46e34538.zip FreeBSD-src-f3f247f508a17f099743bb8bf03cbe0e46e34538.tar.gz |
MFC r265202:
Remove some unreachable breaks in regex.
This is based on a much bigger cleanup done in Illumos.
Reference:
https://www.illumos.org/issues/2077
Diffstat (limited to 'lib/libc/regex/regcomp.c')
-rw-r--r-- | lib/libc/regex/regcomp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c index f3a41e9..55f9c04 100644 --- a/lib/libc/regex/regcomp.c +++ b/lib/libc/regex/regcomp.c @@ -746,7 +746,6 @@ p_b_term(struct parse *p, cset *cs) case '-': SETERROR(REG_ERANGE); return; /* NOTE RETURN */ - break; default: c = '\0'; break; |