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

ruby-changes:40912

From: nobu <ko1@a...>
Date: Wed, 9 Dec 2015 11:44:03 +0900 (JST)
Subject: [ruby-changes:40912] nobu:r52991 (trunk): stringio.c: unused variable

nobu	2015-12-09 11:43:55 +0900 (Wed, 09 Dec 2015)

  New Revision: 52991

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

  Log:
    stringio.c: unused variable
    
    * ext/stringio/stringio.c (strio_memsize): remove a variable which
      is no longer used.

  Modified files:
    trunk/ext/stringio/stringio.c
Index: ext/stringio/stringio.c
===================================================================
--- ext/stringio/stringio.c	(revision 52990)
+++ ext/stringio/stringio.c	(revision 52991)
@@ -66,7 +66,6 @@ strio_free(void *p) https://github.com/ruby/ruby/blob/trunk/ext/stringio/stringio.c#L66
 static size_t
 strio_memsize(const void *p)
 {
-    const struct StringIO *ptr = p;
     return sizeof(struct StringIO);
 }
 

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

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