ruby-changes:47513
From: yui-knk <ko1@a...>
Date: Mon, 21 Aug 2017 22:38:40 +0900 (JST)
Subject: [ruby-changes:47513] yui-knk:r59629 (trunk): Remove a meaningless local variable assignment
yui-knk 2017-08-21 22:38:35 +0900 (Mon, 21 Aug 2017) New Revision: 59629 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59629 Log: 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. Modified files: trunk/iseq.c Index: iseq.c =================================================================== --- iseq.c (revision 59628) +++ iseq.c (revision 59629) @@ -1448,7 +1448,6 @@ rb_iseq_disasm_insn(VALUE ret, const VAL https://github.com/ruby/ruby/blob/trunk/iseq.c#L1448 } 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/