summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2022-09-14 14:17:56 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2022-09-21 11:44:09 +0900
commit8a577cbc63e164a0771581ea7234578f5beab100 (patch)
tree02f22d6d8bfe6ec84ef5636b00724b232b3d49de /vm_insnhelper.c
parent2f8012c9491e7cf10f4080f6eecdb67d3aa83556 (diff)
cref_replace_with_duplicated_cref_each_frame: returns a pointer
Why use FALSE here?
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6358
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 8a82a8db32..ed1c175eb3 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -799,7 +799,7 @@ cref_replace_with_duplicated_cref_each_frame(const VALUE *vptr, int can_be_svar,
break;
}
}
- return FALSE;
+ return NULL;
}
static rb_cref_t *