ruby-changes:51263
From: usa <ko1@a...>
Date: Mon, 21 May 2018 03:09:47 +0900 (JST)
Subject: [ruby-changes:51263] usa:r63469 (trunk): get rid of unused variable warning.
usa 2018-05-21 03:09:36 +0900 (Mon, 21 May 2018) New Revision: 63469 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63469 Log: get rid of unused variable warning. Modified files: trunk/gc.c Index: gc.c =================================================================== --- gc.c (revision 63468) +++ gc.c (revision 63469) @@ -3797,7 +3797,7 @@ gc_sweep(rb_objspace_t *objspace) https://github.com/ruby/ruby/blob/trunk/gc.c#L3797 #endif } else { - struct heap_page *page; + struct heap_page *page = NULL; gc_sweep_start(objspace); list_for_each(&heap_eden->pages, page, page_node) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/