diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-24 02:38:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-24 02:38:27 +0000 |
commit | 2e5cf0b7116751344ebefda08a70ca2de570c89b (patch) | |
tree | 5118fce12256c38fbd772973c4a41735e68c3097 /compile.c | |
parent | c03c03cc11ca59dd8e93e769297f99aaf0826652 (diff) | |
download | ruby-2e5cf0b7116751344ebefda08a70ca2de570c89b.tar.gz |
compile.c: toplevel return arguments
* compile.c (compile_return): evaluate arguments to top-level
return but ignore the results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -5367,7 +5367,6 @@ compile_return(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, /* plain top-level, leave directly */ type = ISEQ_TYPE_METHOD; } - retval = 0; break; default: break; |