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:
parent
648aa500d6
commit
8da9e6d549
1 changed files with 1 additions and 1 deletions
2
vm.c
2
vm.c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue