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

ruby-changes:48145

From: nobu <ko1@a...>
Date: Sat, 21 Oct 2017 21:18:42 +0900 (JST)
Subject: [ruby-changes:48145] nobu:r60259 (trunk): gc.c (rb_raw_obj_info): suppress a warning

nobu	2017-10-21 21:18:38 +0900 (Sat, 21 Oct 2017)

  New Revision: 60259

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

  Log:
    gc.c (rb_raw_obj_info): suppress a warning

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 60258)
+++ gc.c	(revision 60259)
@@ -9379,6 +9379,7 @@ rb_raw_obj_info(char *buff, const int bu https://github.com/ruby/ruby/blob/trunk/gc.c#L9379
 		IMEMO_NAME(iseq);
 		IMEMO_NAME(alloc);
 #undef IMEMO_NAME
+	      default: UNREACHABLE;
 	    }
 	    snprintf(buff, buff_size, "%s %s", buff, imemo_name);
 

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

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