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

ruby-changes:24074

From: nobu <ko1@a...>
Date: Mon, 18 Jun 2012 18:13:41 +0900 (JST)
Subject: [ruby-changes:24074] nobu:r36125 (trunk): unreachable

nobu	2012-06-18 18:13:31 +0900 (Mon, 18 Jun 2012)

  New Revision: 36125

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

  Log:
    unreachable
    
    * ext/-test-/exception/enc_raise.c (enc_raise): unreachable.

  Modified files:
    trunk/ext/-test-/exception/enc_raise.c

Index: ext/-test-/exception/enc_raise.c
===================================================================
--- ext/-test-/exception/enc_raise.c	(revision 36124)
+++ ext/-test-/exception/enc_raise.c	(revision 36125)
@@ -5,6 +5,7 @@
 enc_raise(VALUE exc, VALUE encoding, VALUE mesg)
 {
     rb_enc_raise(rb_to_encoding(encoding), exc, "%s", StringValueCStr(mesg));
+    UNREACHABLE;
 }
 
 void

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

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