diff options
author | pfg <pfg@FreeBSD.org> | 2014-05-01 23:34:14 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-05-01 23:34:14 +0000 |
commit | 19952369c8b5e849c3ff139fe19892c47382f9bc (patch) | |
tree | 5e2a822a599a597c70f6788f33d6f697e796b9ca /lib/libc/regex/regcomp.c | |
parent | f9a10360bc7a02261b8c632658552f826a404379 (diff) | |
download | FreeBSD-src-19952369c8b5e849c3ff139fe19892c47382f9bc.zip FreeBSD-src-19952369c8b5e849c3ff139fe19892c47382f9bc.tar.gz |
regex: Remove some unreachable breaks.
This is based on a much bigger cleanup done in Illumos.
Reference:
https://www.illumos.org/issues/2077
MFC after: 1 week
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; |