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

ruby-changes:18996

From: kosaki <ko1@a...>
Date: Sun, 6 Mar 2011 22:09:34 +0900 (JST)
Subject: [ruby-changes:18996] Ruby:r31032 (trunk): * sample/list.rb (MyElem#initialize): initialize @head

kosaki	2011-03-06 21:51:17 +0900 (Sun, 06 Mar 2011)

  New Revision: 31032

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

  Log:
    * sample/list.rb (MyElem#initialize): initialize @head
      explicitely. Otherwise -W2 option makes following warning.
      "warning: instance variable @head not initialized".
      This issue was founded by Andrew Grimm. Thanks Andrew!
      [ruby-core:35435][Bug#4471]

  Modified files:
    trunk/ChangeLog
    trunk/sample/list.rb


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

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