summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-09-05 09:45:27 -0600
committerKarl Williamson <khw@cpan.org>2014-09-06 21:44:49 -0600
commitece61a0db81bc8395a17a5742918682d3c4bdc2c (patch)
tree836dea5df70283956087cffafe91e1988a7361ed /regcomp.c
parent8f0cd35a38dde9ab975f5ee1a663b81939e17745 (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index 73ad315c29..ba516120a9 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -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{\"");
}