aboutsummaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-06 19:13:18 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-06 19:13:18 +0000
commit57f2c60727bb856d1ace83d03045b03d11fb8768 (patch)
tree35d2a6daf160d9cc80aa6b835cc84c8ac0d6178e /vm.c
parent5c4d7b9a9ed82ef09d483e02a49cf8578fd07c7a (diff)
downloadruby-57f2c60727bb856d1ace83d03045b03d11fb8768.tar.gz
* 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.c2
1 files changed, 0 insertions, 2 deletions
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");