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 | a7ad3d1efaa191998b524d602216f2d8746a8b71 (patch) | |
tree | 57675d82b85ab2681511240e35b190fc91905dd5 /numeric.c | |
parent | 547622308d6d5683027d63e6a66f00ccdf0da487 (diff) | |
download | ruby-a7ad3d1efaa191998b524d602216f2d8746a8b71.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 'numeric.c')
-rw-r--r-- | numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -487,7 +487,7 @@ num_sadded(VALUE x, VALUE name) rb_id2str(mid), rb_obj_class(x)); - UNREACHABLE; + UNREACHABLE_RETURN(Qnil); } #if 0 |