Fix bad ordering of declaration and statement

pull/4843/head
murgatroid99 9 years ago
parent 25122bf811
commit b5c669a8a9
  1. 2
      src/ruby/ext/grpc/rb_call_credentials.c

@ -78,8 +78,8 @@ static VALUE grpc_rb_call_credentials_callback(VALUE callback_args) {
static VALUE grpc_rb_call_credentials_callback_rescue(VALUE args,
VALUE exception_object) {
(void)args;
VALUE result = rb_hash_new();
(void)args;
rb_hash_aset(result, rb_str_new2("metadata"), Qnil);
/* Currently only gives the exception class name. It should be possible get
more details */

Loading…
Cancel
Save