aboutsummaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-02-01 00:04:45 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-02-01 00:04:45 +0900
commitfac4385f01bdd389f336b8c34cb72cd031658bd3 (patch)
treebeecc036a7afca23c92b9d387c56fe1cf2761ecd /compile.c
parent05229cef45fe04ed2bd0effd35eef271f7599879 (diff)
downloadruby-fac4385f01bdd389f336b8c34cb72cd031658bd3.tar.gz
compile.c: remove a unused variable
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index 39c6bc1aaf..eb36f57e0f 100644
--- a/compile.c
+++ b/compile.c
@@ -5912,9 +5912,8 @@ iseq_compile_pattern_each(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *c
}
case NODE_HASH: {
NODE *n;
- LABEL *match_failed, *fin;
+ LABEL *match_failed;
match_failed = NEW_LABEL(line);
- fin = NEW_LABEL(line);
n = node->nd_head;
if (! (nd_type(n) == NODE_LIST && n->nd_alen == 2)) {