mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02:00
suppress warnings
* ext/-test-/postponed_job/postponed_job.c (pjob_register), (pjob_call_direct): none void function. * ext/-test-/tracepoint/tracepoint.c (tracepoint_track_objspace_events): adjust type to get rid of implicit cast. * ext/objspace/object_tracing.c (newobj_i): ditto. * ext/tk/tkutil/tkutil.c (tk_conv_args): adjust type against RHASH_SIZE(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f72bd6e720
commit
462804fce4
4 changed files with 6 additions and 3 deletions
|
@ -47,7 +47,7 @@ tracepoint_track_objspace_events(VALUE self)
|
|||
RUBY_INTERNAL_EVENT_GC_START | RUBY_INTERNAL_EVENT_GC_END,
|
||||
tracepoint_track_objspace_events_i, 0);
|
||||
VALUE result = rb_ary_new();
|
||||
int i;
|
||||
size_t i;
|
||||
|
||||
newobj_count = free_count = gc_start_count = objects_count = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue