Skip to content
Snippets Groups Projects
Commit b1fe7d67 authored by Craig Tiller's avatar Craig Tiller
Browse files

Merge pull request #4590 from yang-g/unreachable

fix one use of unreachable macro
parents bba5431c 3fd28366
No related branches found
No related tags found
No related merge requests found
...@@ -139,9 +139,9 @@ grpc_compression_algorithm grpc_compression_algorithm_for_level( ...@@ -139,9 +139,9 @@ grpc_compression_algorithm grpc_compression_algorithm_for_level(
case GRPC_COMPRESS_LEVEL_HIGH: case GRPC_COMPRESS_LEVEL_HIGH:
return GRPC_COMPRESS_DEFLATE; return GRPC_COMPRESS_DEFLATE;
default: default:
break; gpr_log(GPR_ERROR, "Unknown compression level %d.", (int)level);
abort();
} }
GPR_UNREACHABLE_CODE(return GRPC_COMPRESS_NONE);
} }
void grpc_compression_options_init(grpc_compression_options *opts) { void grpc_compression_options_init(grpc_compression_options *opts) {
......
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