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

ruby-changes:44104

From: nobu <ko1@a...>
Date: Sat, 17 Sep 2016 18:22:32 +0900 (JST)
Subject: [ruby-changes:44104] nobu:r56177 (trunk): objspace_dump.c: dc is no longer used [ci skip]

nobu	2016-09-17 18:22:26 +0900 (Sat, 17 Sep 2016)

  New Revision: 56177

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

  Log:
    objspace_dump.c: dc is no longer used [ci skip]
    
    * ext/objspace/objspace_dump.c (heap_i): remove no longer used
      variable.

  Modified files:
    trunk/ext/objspace/objspace_dump.c
Index: ext/objspace/objspace_dump.c
===================================================================
--- ext/objspace/objspace_dump.c	(revision 56176)
+++ ext/objspace/objspace_dump.c	(revision 56177)
@@ -318,7 +318,6 @@ dump_object(VALUE obj, struct dump_confi https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace_dump.c#L318
 static int
 heap_i(void *vstart, void *vend, size_t stride, void *data)
 {
-    struct dump_config *dc = (struct dump_config *)data;
     VALUE v = (VALUE)vstart;
     for (; v != (VALUE)vend; v += stride) {
 	if (RBASIC(v)->flags)

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

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