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

ruby-changes:44888

From: naruse <ko1@a...>
Date: Fri, 2 Dec 2016 02:43:46 +0900 (JST)
Subject: [ruby-changes:44888] naruse:r56960 (trunk): Remove unused variable

naruse	2016-12-02 02:43:41 +0900 (Fri, 02 Dec 2016)

  New Revision: 56960

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

  Log:
    Remove unused variable

  Modified files:
    trunk/pack.c
Index: pack.c
===================================================================
--- pack.c	(revision 56959)
+++ pack.c	(revision 56960)
@@ -290,8 +290,6 @@ pack_pack(int argc, VALUE *argv, VALUE a https://github.com/ruby/ruby/blob/trunk/pack.c#L290
     pend = p + RSTRING_LEN(fmt);
     if (!NIL_P(opt)) {
 	static ID keyword_ids[1];
-	long offset;
-
 	if (!keyword_ids[0])
 	    CONST_ID(keyword_ids[0], "buffer");
 

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

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