diff options
author | murgatroid99 <mlumish@google.com> | 2015-07-16 16:01:02 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2015-07-16 16:01:02 -0700 |
commit | 87afb5d86303f67ac781b7e2c6ff24b544c0635a (patch) | |
tree | 230e9f886d242eef5483556ce5df25216a9b95e5 /src/ruby/ext/grpc/rb_channel.c | |
parent | e85483b39248b42512571ab7eb92c5fdff6304c3 (diff) |
Clean up some warnings in the ruby wrapping code
Diffstat (limited to 'src/ruby/ext/grpc/rb_channel.c')
-rw-r--r-- | src/ruby/ext/grpc/rb_channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ruby/ext/grpc/rb_channel.c b/src/ruby/ext/grpc/rb_channel.c index d6876bc554..9bf1a9f945 100644 --- a/src/ruby/ext/grpc/rb_channel.c +++ b/src/ruby/ext/grpc/rb_channel.c @@ -107,7 +107,8 @@ static void grpc_rb_channel_mark(void *p) { static rb_data_type_t grpc_channel_data_type = { "grpc_channel", - {grpc_rb_channel_mark, grpc_rb_channel_free, GRPC_RB_MEMSIZE_UNAVAILABLE}, + {grpc_rb_channel_mark, grpc_rb_channel_free, GRPC_RB_MEMSIZE_UNAVAILABLE, + {NULL, NULL}}, NULL, NULL, RUBY_TYPED_FREE_IMMEDIATELY }; |