ruby-changes:21050
From: ktsj <ko1@a...>
Date: Sat, 27 Aug 2011 20:52:06 +0900 (JST)
Subject: [ruby-changes:21050] ktsj:r33099 (trunk): * vm.c (rb_vm_rewrite_dfp_in_errinfo): change return type
ktsj 2011-08-27 20:51:02 +0900 (Sat, 27 Aug 2011) New Revision: 33099 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33099 Log: * vm.c (rb_vm_rewrite_dfp_in_errinfo): change return type to suppress a warning. * vm_core.h: ditto. Modified files: trunk/ChangeLog trunk/vm.c trunk/vm_core.h Index: ChangeLog =================================================================== --- ChangeLog (revision 33098) +++ ChangeLog (revision 33099) @@ -1,3 +1,10 @@ +Sat Aug 27 20:46:05 2011 Kazuki Tsujimoto <kazuki@c...> + + * vm.c (rb_vm_rewrite_dfp_in_errinfo): change return type + to suppress a warning. + + * vm_core.h: ditto. + Sat Aug 27 19:04:06 2011 NARUSE, Yui <naruse@r...> * internal.h (rb_strftime_timespec): moved from time.c and define only Index: vm_core.h =================================================================== --- vm_core.h (revision 33098) +++ vm_core.h (revision 33099) @@ -649,7 +649,7 @@ int argc, const VALUE *argv, const rb_block_t *blockptr); VALUE rb_vm_make_proc(rb_thread_t *th, const rb_block_t *block, VALUE klass); VALUE rb_vm_make_env_object(rb_thread_t *th, rb_control_frame_t *cfp); -VALUE rb_vm_rewrite_dfp_in_errinfo(rb_thread_t *th, rb_control_frame_t *cfp); +void rb_vm_rewrite_dfp_in_errinfo(rb_thread_t *th, rb_control_frame_t *cfp); void rb_vm_inc_const_missing_count(void); void rb_vm_gvl_destroy(rb_vm_t *vm); VALUE rb_vm_call(rb_thread_t *th, VALUE recv, VALUE id, int argc, Index: vm.c =================================================================== --- vm.c (revision 33098) +++ vm.c (revision 33099) @@ -473,7 +473,7 @@ return envval; } -VALUE +void rb_vm_rewrite_dfp_in_errinfo(rb_thread_t *th, rb_control_frame_t *cfp) { /* rewrite dfp in errinfo to point to heap */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/