Explorar o código

remove unreachable macro

yang-g %!s(int64=10) %!d(string=hai) anos
pai
achega
eb92fa7ba8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/compression/algorithm.c

+ 1 - 1
src/core/compression/algorithm.c

@@ -141,7 +141,7 @@ grpc_compression_algorithm grpc_compression_algorithm_for_level(
     default:
       break;
   }
-  GPR_UNREACHABLE_CODE(return GRPC_COMPRESS_NONE);
+  return GRPC_COMPRESS_NONE;
 }
 
 void grpc_compression_options_init(grpc_compression_options *opts) {