From 86915152460d1cfc7776d622df759593ecd81db5 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Thu, 18 Jan 2018 09:44:41 +0000 Subject: [PATCH] rb_enc_reg_raise marked as NORETURN git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- re.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/re.c b/re.c index 408b5e5295..1eaa56e25b 100644 --- a/re.c +++ b/re.c @@ -671,6 +671,8 @@ rb_enc_reg_error_desc(const char *s, long len, rb_encoding *enc, int options, co return rb_exc_new3(rb_eRegexpError, desc); } +NORETURN(static void rb_enc_reg_raise(const char *s, long len, rb_encoding *enc, int options, const char *err)); + static void rb_enc_reg_raise(const char *s, long len, rb_encoding *enc, int options, const char *err) {