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

ruby-changes:58058

From: Yusuke <ko1@a...>
Date: Tue, 1 Oct 2019 08:58:21 +0900 (JST)
Subject: [ruby-changes:58058] a38fe1fbf0 (master): ext/-test-/enumerator_kw/enumerator_kw.c: remove unused variable

https://git.ruby-lang.org/ruby.git/commit/?id=a38fe1fbf0

From a38fe1fbf068d05177e6e6fac2b8ec7704873e63 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Tue, 1 Oct 2019 08:57:50 +0900
Subject: ext/-test-/enumerator_kw/enumerator_kw.c: remove unused variable


diff --git a/ext/-test-/enumerator_kw/enumerator_kw.c b/ext/-test-/enumerator_kw/enumerator_kw.c
index cd6099f..947d2b3 100644
--- a/ext/-test-/enumerator_kw/enumerator_kw.c
+++ b/ext/-test-/enumerator_kw/enumerator_kw.c
@@ -3,7 +3,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/-test-/enumerator_kw/enumerator_kw.c#L3
 static VALUE
 enumerator_kw(int argc, VALUE *argv, VALUE self)
 {
-    VALUE obj, opt, enum_args[4];
+    VALUE opt, enum_args[4];
     enum_args[0] = Qnil;
     enum_args[1] = Qnil;
     rb_scan_args(argc, argv, "01*:", enum_args, enum_args+1, &opt);
-- 
cgit v0.10.2


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

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