diff options
author | Dmitry Mikhirev | 2014-12-20 17:57:41 +0300 |
---|---|---|
committer | Dmitry Mikhirev | 2014-12-20 17:57:41 +0300 |
commit | 2b494614096cdb578993b473b1f4ac93cd4dce1a (patch) | |
tree | 813dd20baa0329a47676878bcbeb91fdabab76b5 | |
parent | f11265cb5ba034c4a873c0a3400464d132f1927f (diff) | |
download | make_pcre-2b494614096cdb578993b473b1f4ac93cd4dce1a.tar.gz make_pcre-2b494614096cdb578993b473b1f4ac93cd4dce1a.tar.bz2 make_pcre-2b494614096cdb578993b473b1f4ac93cd4dce1a.tar.xz make_pcre-2b494614096cdb578993b473b1f4ac93cd4dce1a.zip |
removed unreachable breaks
-rw-r--r-- | pcre.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -203,11 +203,11 @@ static int parse_comp_opt(const char flag, const char *func) switch (flag) { case 'i': /* ignore case */ - return PCRE_CASELESS; break; + return PCRE_CASELESS; case 'm': /* multi-line */ - return PCRE_MULTILINE; break; + return PCRE_MULTILINE; case 's': /* single-line */ - return PCRE_DOTALL; break; + return PCRE_DOTALL; case 'u': /* use Unicode properties */ pcre_config(PCRE_CONFIG_UNICODE_PROPERTIES, &b); if (b) { @@ -220,11 +220,11 @@ static int parse_comp_opt(const char flag, const char *func) } break; case 'U': /* ungreedy quantifiers */ - return PCRE_UNGREEDY; break; + return PCRE_UNGREEDY; case 'x': /* extended regexp */ - return PCRE_EXTENDED; break; + return PCRE_EXTENDED; case 'X': /* PCRE extras */ - return PCRE_EXTRA; break; + return PCRE_EXTRA; case '8': /* UTF-8 */ pcre_config(PCRE_CONFIG_UTF8, &b); if (b) { |