summaryrefslogtreecommitdiff
path: root/ext/-test-/exception
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-18 09:13:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-18 09:13:31 +0000
commitbcc4c40853d0140185f9bc9511beddeb3a33823a (patch)
tree8a56490c4f5e015a8cf554ba1338a91786924b8a /ext/-test-/exception
parent3137b0819de753e7df671570b624229d7c583852 (diff)
unreachable
* ext/-test-/exception/enc_raise.c (enc_raise): unreachable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/exception')
-rw-r--r--ext/-test-/exception/enc_raise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/-test-/exception/enc_raise.c b/ext/-test-/exception/enc_raise.c
index 25410df..dc8a42c 100644
--- a/ext/-test-/exception/enc_raise.c
+++ b/ext/-test-/exception/enc_raise.c
@@ -5,6 +5,7 @@ static VALUE
enc_raise(VALUE exc, VALUE encoding, VALUE mesg)
{
rb_enc_raise(rb_to_encoding(encoding), exc, "%s", StringValueCStr(mesg));
+ UNREACHABLE;
}
void