From 027067e88ea4f9fed64d62b7fa5a4cbb568a2465 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Tue, 13 Aug 2019 16:32:55 +0900 Subject: [PATCH] refactoring --- src/regcomp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/regcomp.c b/src/regcomp.c index 9f530f7..87213c3 100644 --- a/src/regcomp.c +++ b/src/regcomp.c @@ -5497,9 +5497,6 @@ concat_left_node_opt_info(OnigEncoding enc, OptNode* to, OptNode* add) if (to->spr.len > 0) { if (add->len.max > 0) { - if (to->spr.len > (int )add->len.max) - to->spr.len = add->len.max; - if (to->spr.mmd.max == 0) select_opt_exact(enc, &to->sb, &to->spr); else -- 2.40.0