summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authoryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-21 13:38:35 +0000
committeryui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-21 13:38:35 +0000
commit29fa7a9f913cbcfd323017d7d9a708409c05c486 (patch)
treec5261d4007c9d6a6bda0c84ba8e6be5ef0b63253 /iseq.c
parentaaac3f8cb4d460c1dbddbd18b62edd523571ad92 (diff)
Remove a meaningless local variable assignment
* iseq.c (rb_iseq_disasm_insn): Remove a meaningless local variable assignment. `insn` is never changed in this function, so a result of `insn_op_types(insn)` is also never changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index be131229b3..adb0c79917 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1448,7 +1448,6 @@ rb_iseq_disasm_insn(VALUE ret, const VALUE *code, size_t pos,
}
for (j = 0; types[j]; j++) {
- const char *types = insn_op_types(insn);
VALUE opstr = rb_insn_operand_intern(iseq, insn, j, code[pos + j + 1],
len, pos, &code[pos + j + 2],
child);