summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-07 18:41:48 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-07 20:15:05 +0900
commit40612d55c628cb80dc7cb2b98bad8d8cde9c1f75 (patch)
treec5664d806ebcd5bf0ae79258a31989b1bd87ab44 /regcomp.c
parentff69ef27b06eed1ba750e7d9cab8322f351ed245 (diff)
Fixed shorten-64-to-32 errors when USE_COMBINATION_EXPLOSION_CHECK
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index 3a438b94c4..44ee0b2e51 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -3755,10 +3755,8 @@ setup_comb_exp_check(Node* node, int state, ScanEnv* env)
switch (type) {
case NT_LIST:
{
- Node* prev = NULL_NODE;
do {
r = setup_comb_exp_check(NCAR(node), r, env);
- prev = NCAR(node);
} while (r >= 0 && IS_NOT_NULL(node = NCDR(node)));
}
break;