mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix trivial -Wundef warnings
* See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
This commit is contained in:
parent
229cbeba8c
commit
68d6bd0873
Notes:
git
2021-05-04 21:57:21 +09:00
16 changed files with 21 additions and 19 deletions
|
@ -65,7 +65,7 @@ PUREFUNC(static inline VALUE rb_vm_lvar(rb_execution_context_t *ec, int index));
|
|||
static inline VALUE
|
||||
rb_vm_lvar(rb_execution_context_t *ec, int index)
|
||||
{
|
||||
#if VM_CORE_H_EC_DEFINED
|
||||
#if defined(VM_CORE_H_EC_DEFINED) && VM_CORE_H_EC_DEFINED
|
||||
return ec->cfp->ep[index];
|
||||
#else
|
||||
return rb_vm_lvar_exposed(ec, index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue