[PRISM] Remove unused variable
This commit is contained in:
parent
846f87ee0a
commit
c85e28d12a
@ -6512,7 +6512,6 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret,
|
|||||||
|
|
||||||
// We will assign these values now, if applicable, and use them for
|
// We will assign these values now, if applicable, and use them for
|
||||||
// the ISEQs on these multis
|
// the ISEQs on these multis
|
||||||
int required_multis_hidden_index = local_index;
|
|
||||||
int post_multis_hidden_index = 0;
|
int post_multis_hidden_index = 0;
|
||||||
|
|
||||||
// Here we figure out local table indices and insert them in to the
|
// Here we figure out local table indices and insert them in to the
|
||||||
@ -7026,7 +7025,7 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret,
|
|||||||
const pm_node_t *required = requireds_list->nodes[i];
|
const pm_node_t *required = requireds_list->nodes[i];
|
||||||
|
|
||||||
if (PM_NODE_TYPE_P(required, PM_MULTI_TARGET_NODE)) {
|
if (PM_NODE_TYPE_P(required, PM_MULTI_TARGET_NODE)) {
|
||||||
ADD_GETLOCAL(ret, &dummy_line_node, table_size - required_multis_hidden_index - (int) i, 0);
|
ADD_GETLOCAL(ret, &dummy_line_node, table_size - (int)i, 0);
|
||||||
pm_compile_destructured_param_writes(iseq, (const pm_multi_target_node_t *) required, ret, scope_node);
|
pm_compile_destructured_param_writes(iseq, (const pm_multi_target_node_t *) required, ret, scope_node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user