diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-24 05:38:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-24 05:38:07 +0000 |
commit | 97e05dad7ffca0d2fd496fb8e33ddcd7def6748b (patch) | |
tree | 57675d82b85ab2681511240e35b190fc91905dd5 /vm_method.c | |
parent | c78945751f5ea43d6dea732b9d3b5283c2710bce (diff) | |
download | ruby-97e05dad7ffca0d2fd496fb8e33ddcd7def6748b.tar.gz |
UNREACHABLE_RETURN
* include/ruby/ruby.h (UNREACHABLE_RETURN): UNREACHABLE at the end
of non-void functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c index f76d176d2c..6a829ca23f 100644 --- a/vm_method.c +++ b/vm_method.c @@ -118,7 +118,7 @@ rb_f_notimplement(int argc, const VALUE *argv, VALUE obj) { rb_notimplement(); - UNREACHABLE; + UNREACHABLE_RETURN(Qnil); } static void |