diff options
author | 2016-04-28 15:40:45 -0700 | |
---|---|---|
committer | 2016-04-28 15:40:45 -0700 | |
commit | 9003768b0af8dd3f51a534cb50baf7081f3caeb0 (patch) | |
tree | 762221bb9321750bb7b22ea4656583e7f3f3491a /src/ruby/ext/grpc/rb_channel_credentials.c | |
parent | 9e3538c57df9855ff2f5c6384a00b740c2bec49a (diff) |
Fixed unused parameter error
Diffstat (limited to 'src/ruby/ext/grpc/rb_channel_credentials.c')
-rw-r--r-- | src/ruby/ext/grpc/rb_channel_credentials.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ruby/ext/grpc/rb_channel_credentials.c b/src/ruby/ext/grpc/rb_channel_credentials.c index 4c01859db7..09bd3093a9 100644 --- a/src/ruby/ext/grpc/rb_channel_credentials.c +++ b/src/ruby/ext/grpc/rb_channel_credentials.c @@ -254,6 +254,7 @@ static grpc_ssl_roots_override_result get_ssl_roots_override( static VALUE grpc_rb_set_default_roots_pem(VALUE self, VALUE roots) { char *roots_ptr = StringValueCStr(roots); size_t length = strlen(roots_ptr); + (void)self; pem_root_certs = gpr_malloc((length + 1) * sizeof(char)); memcpy(pem_root_certs, roots_ptr, length + 1); return Qnil; |