diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-06 19:13:18 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-06 19:13:18 +0000 |
commit | 57f2c60727bb856d1ace83d03045b03d11fb8768 (patch) | |
tree | 35d2a6daf160d9cc80aa6b835cc84c8ac0d6178e /vm.c | |
parent | 5c4d7b9a9ed82ef09d483e02a49cf8578fd07c7a (diff) |
* 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
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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"); |