aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/ext/grpc/rb_channel.c
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-07-16 16:01:02 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-07-16 16:01:02 -0700
commit87afb5d86303f67ac781b7e2c6ff24b544c0635a (patch)
tree230e9f886d242eef5483556ce5df25216a9b95e5 /src/ruby/ext/grpc/rb_channel.c
parente85483b39248b42512571ab7eb92c5fdff6304c3 (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.c3
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
};