From cdff88b8b4ff9a1728d13b176a4487e098503aef Mon Sep 17 00:00:00 2001 From: shyouhei Date: Thu, 18 Jan 2018 09:44:42 +0000 Subject: [PATCH] rb_reg_raise_str marked as NORETURN git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- re.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/re.c b/re.c index 1eaa56e25b..df7a561bf0 100644 --- a/re.c +++ b/re.c @@ -686,6 +686,8 @@ rb_reg_error_desc(VALUE str, int options, const char *err) rb_enc_get(str), options, err); } +NORETURN(static void rb_reg_raise_str(VALUE str, int options, const char *err)); + static void rb_reg_raise_str(VALUE str, int options, const char *err) {