diff options
author | S-H-GAMELINKS <[email protected]> | 2022-11-15 13:24:08 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-11-16 18:58:33 +0900 |
commit | 1f4f6c9832d83e7ebd65ccf4e95cef358b3512c6 (patch) | |
tree | 823f1ca5409fdd930b05d974cdb70953b6e7e128 /vm_exec.c | |
parent | dc1c4e46758ace2c9e5e822df0d64b16bb564bb4 (diff) |
Using UNDEF_P macro
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6721
Diffstat (limited to 'vm_exec.c')
-rw-r--r-- | vm_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -183,7 +183,7 @@ vm_exec_core(rb_execution_context_t *ec, VALUE initial) } } - if ((th = rb_ec_thread_ptr(ec))->retval != Qundef) { + if (!UNDEF_P((th = rb_ec_thread_ptr(ec))->retval)) { VALUE ret = th->retval; th->retval = Qundef; return ret; |