[前][次][番号順一覧][スレッド一覧]

ruby-changes:39088

From: ko1 <ko1@a...>
Date: Tue, 7 Jul 2015 04:13:42 +0900 (JST)
Subject: [ruby-changes:39088] ko1:r51169 (trunk): * vm.c (vm_define_method): remove an unused local variable.

ko1	2015-07-07 04:13:18 +0900 (Tue, 07 Jul 2015)

  New Revision: 51169

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51169

  Log:
    * vm.c (vm_define_method): remove an unused local variable.

  Modified files:
    trunk/ChangeLog
    trunk/vm.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51168)
+++ ChangeLog	(revision 51169)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Jul  7 04:12:32 2015  Koichi Sasada  <ko1@a...>
+
+	* vm.c (vm_define_method): remove an unused local variable.
+
 Tue Jul  7 03:57:28 2015  Koichi Sasada  <ko1@a...>
 
 	* vm_core.h: remove rb_iseq_t::defined_method_id because it is not
Index: vm.c
===================================================================
--- vm.c	(revision 51168)
+++ vm.c	(revision 51169)
@@ -2275,8 +2275,6 @@ vm_define_method(rb_thread_t *th, VALUE https://github.com/ruby/ruby/blob/trunk/vm.c#L2275
     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");

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]