diff options
author | murgatroid99 <mlumish@google.com> | 2016-01-08 12:33:22 -0800 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2016-01-08 12:33:22 -0800 |
commit | 8b791a4a7f784fb367af6e56c2596c578e974338 (patch) | |
tree | ab7baa05c08aeac191768fadc766866434beb36b /src/core/compression | |
parent | c357749b48720e00bce57c26acb2195047d63263 (diff) | |
parent | b47eab53dec9a6d811ad26e0873dc7ec1bac7d46 (diff) |
Merged from master and resolved merge conflicts
Diffstat (limited to 'src/core/compression')
-rw-r--r-- | src/core/compression/algorithm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/compression/algorithm.c b/src/core/compression/algorithm.c index 8e4e5c91d4..6f3a8eb28e 100644 --- a/src/core/compression/algorithm.c +++ b/src/core/compression/algorithm.c @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -139,9 +139,9 @@ grpc_compression_algorithm grpc_compression_algorithm_for_level( case GRPC_COMPRESS_LEVEL_HIGH: return GRPC_COMPRESS_DEFLATE; 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) { |