From a30585c71699142f26d0acd91456fddcae948304 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 23 Jun 2012 15:24:38 -0600 Subject: [PATCH] regcomp.c: Remove unnecessary 'if' test A previous commit has refactored things, so this test is always true --- regcomp.c | 2 -- 1 file changed, 2 deletions(-) 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: ; -- 2.7.4