Avoid compiler error

pull/8608/head
Vijay Pai 8 years ago
parent 105b39450a
commit c21e94cea1
  1. 2
      src/ruby/ext/grpc/rb_compression_options.c

@ -283,6 +283,8 @@ VALUE grpc_rb_compression_options_level_value_to_name_internal(
rb_eArgError,
"Failed to convert compression level value to name for value: %d",
(int)compression_value);
/* return something to avoid compiler error about no return */
return Qnil;
}
}

Loading…
Cancel
Save