From abdf432a68aa66359c7fb64334e6f902bdc8821e Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 6 Jul 2015 19:13:18 +0000 Subject: * vm.c (vm_define_method): remove an unused local variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ vm.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c95614ef27..5bcbb305da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jul 7 04:12:32 2015 Koichi Sasada + + * vm.c (vm_define_method): remove an unused local variable. + Tue Jul 7 03:57:28 2015 Koichi Sasada * vm_core.h: remove rb_iseq_t::defined_method_id because it is not diff --git a/vm.c b/vm.c index 1b255c7124..741d9c7708 100644 --- a/vm.c +++ b/vm.c @@ -2275,8 +2275,6 @@ vm_define_method(rb_thread_t *th, VALUE obj, ID id, VALUE iseqval, VALUE klass = CREF_CLASS(cref); const rb_scope_visibility_t *scope_visi = CREF_SCOPE_VISI(cref); rb_method_visibility_t visi = scope_visi->method_visi; - rb_iseq_t *miseq; - GetISeqPtr(iseqval, miseq); if (NIL_P(klass)) { rb_raise(rb_eTypeError, "no class/module to add method"); -- cgit v1.2.3