Skip to content
Snippets Groups Projects
Commit 852c58e8 authored by Vijay Pai's avatar Vijay Pai Committed by GitHub
Browse files

Merge pull request #8608 from vjpai/rbfix

Avoid compiler error in Ruby build on clang-7.3
parents 90d726fd 507e08a6
No related branches found
No related tags found
No related merge requests found
...@@ -283,6 +283,8 @@ VALUE grpc_rb_compression_options_level_value_to_name_internal( ...@@ -283,6 +283,8 @@ VALUE grpc_rb_compression_options_level_value_to_name_internal(
rb_eArgError, rb_eArgError,
"Failed to convert compression level value to name for value: %d", "Failed to convert compression level value to name for value: %d",
(int)compression_value); (int)compression_value);
/* return something to avoid compiler error about no return */
return Qnil;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment