mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
tracepoint.c: no empty initializer list
* ext/-test-/tracepoint/tracepoint.c (tracepoint_track_objspace_events): C89 disallows empty initializer lists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7eaee5b5e2
commit
645257261e
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ tracepoint_track_objspace_events_i(VALUE tpval, void *data)
|
|||
static VALUE
|
||||
tracepoint_track_objspace_events(VALUE self)
|
||||
{
|
||||
struct tracepoint_track track = {0, 0, 0, 0, 0, {}};
|
||||
struct tracepoint_track track = {0, 0, 0, 0, 0,};
|
||||
VALUE tpval = rb_tracepoint_new(0, RUBY_INTERNAL_EVENT_NEWOBJ | RUBY_INTERNAL_EVENT_FREEOBJ |
|
||||
RUBY_INTERNAL_EVENT_GC_START | RUBY_INTERNAL_EVENT_GC_END,
|
||||
tracepoint_track_objspace_events_i, &track);
|
||||
|
|
Loading…
Reference in a new issue