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

ruby-changes:48137

From: ko1 <ko1@a...>
Date: Sat, 21 Oct 2017 19:24:03 +0900 (JST)
Subject: [ruby-changes:48137] ko1:r60251 (trunk): do not need to clear by NULL because of last commit

ko1	2017-10-21 19:23:59 +0900 (Sat, 21 Oct 2017)

  New Revision: 60251

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

  Log:
    do not need to clear by NULL because of last commit

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 60250)
+++ gc.c	(revision 60251)
@@ -9366,7 +9366,7 @@ rb_raw_obj_info(char *buff, const int bu https://github.com/ruby/ruby/blob/trunk/gc.c#L9366
 	      break;
 	  }
 	  case T_IMEMO: {
-	      const char *imemo_name = NULL;
+	      const char *imemo_name;
 	      switch (imemo_type(obj)) {
 #define IMEMO_NAME(x) case imemo_##x: imemo_name = #x; break;
 		  IMEMO_NAME(env);

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

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