From: Karl Williamson Date: Sat, 23 Jun 2012 21:24:38 +0000 (-0600) Subject: regcomp.c: Remove unnecessary 'if' test X-Git-Tag: upstream/5.20.0~6200 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a30585c71699142f26d0acd91456fddcae948304;p=platform%2Fupstream%2Fperl.git regcomp.c: Remove unnecessary 'if' test A previous commit has refactored things, so this test is always true --- diff --git a/regcomp.c b/regcomp.c index 1435acb..3d49b81 100644 --- a/regcomp.c +++ b/regcomp.c @@ -12176,7 +12176,6 @@ parseit: /* If any of the folded characters of this are in the * Latin1 range, tell the regex engine that this can * match a non-utf8 target string. */ - if (j > 255 || AT_LEAST_UNI_SEMANTICS) { while (loc < e) { /* Can't mix ascii with non- under /aa */ @@ -12199,7 +12198,6 @@ parseit: } loc += UTF8SKIP(loc); } - } add_alternate(&unicode_alternate, foldbuf, foldlen); end_multi_fold: ;