diff options
author | Karl Williamson <khw@cpan.org> | 2014-09-05 09:45:27 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-09-06 21:44:49 -0600 |
commit | ece61a0db81bc8395a17a5742918682d3c4bdc2c (patch) | |
tree | 836dea5df70283956087cffafe91e1988a7361ed /regcomp.c | |
parent | 8f0cd35a38dde9ab975f5ee1a663b81939e17745 (diff) | |
download | perl-ece61a0db81bc8395a17a5742918682d3c4bdc2c.tar.gz |
regcomp.c: Remove extraneous tests
These two messages used to be warnings, but are now errors, so there is
no need to test which pass they are being output in.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11494,7 +11494,7 @@ tryagain: ret = reg_node(pRExC_state, op); FLAGS(ret) = get_regex_charset(RExC_flags); *flagp |= SIMPLE; - if (! SIZE_ONLY && (U8) *(RExC_parse + 1) == '{') { + if ((U8) *(RExC_parse + 1) == '{') { /* diag_listed_as: Use "%s" instead of "%s" */ vFAIL("Use \"\\b\\{\" instead of \"\\b{\""); } @@ -11512,7 +11512,7 @@ tryagain: ret = reg_node(pRExC_state, op); FLAGS(ret) = get_regex_charset(RExC_flags); *flagp |= SIMPLE; - if (! SIZE_ONLY && (U8) *(RExC_parse + 1) == '{') { + if ((U8) *(RExC_parse + 1) == '{') { /* diag_listed_as: Use "%s" instead of "%s" */ vFAIL("Use \"\\B\\{\" instead of \"\\B{\""); } |