1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

use NULL instead of 0

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2015-10-29 21:45:07 +00:00
parent 648aa500d6
commit 8da9e6d549

2
vm.c
View file

@ -1142,7 +1142,7 @@ rb_vm_cref(void)
rb_thread_t *th = GET_THREAD();
rb_control_frame_t *cfp = rb_vm_get_ruby_level_next_cfp(th, th->cfp);
if (cfp == 0) {
if (cfp == NULL) {
return NULL;
}