ruby-changes:40288
From: ko1 <ko1@a...>
Date: Fri, 30 Oct 2015 06:47:18 +0900 (JST)
Subject: [ruby-changes:40288] ko1:r52369 (trunk): use NULL instead of 0
ko1 2015-10-30 06:45:07 +0900 (Fri, 30 Oct 2015) New Revision: 52369 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52369 Log: use NULL instead of 0 Modified files: trunk/vm.c Index: vm.c =================================================================== --- vm.c (revision 52368) +++ vm.c (revision 52369) @@ -1142,7 +1142,7 @@ rb_vm_cref(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L1142 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; } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/