diff options
author | 2015-10-07 11:40:13 -0700 | |
---|---|---|
committer | 2015-10-07 11:40:13 -0700 | |
commit | b063c87596f4e05e4aaac9f69541e01278920451 (patch) | |
tree | f0ac8083daec33e61943e38e328b1b766007fe15 /src/core/transport/chttp2/frame_data.c | |
parent | fbfd3d42d2f4fcbc627b713f5ba7f0540bc0a8d0 (diff) |
mark unreachable code with a macro
Diffstat (limited to 'src/core/transport/chttp2/frame_data.c')
-rw-r--r-- | src/core/transport/chttp2/frame_data.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/transport/chttp2/frame_data.c b/src/core/transport/chttp2/frame_data.c index acfa7c002e..07179a4571 100644 --- a/src/core/transport/chttp2/frame_data.c +++ b/src/core/transport/chttp2/frame_data.c @@ -168,7 +168,5 @@ grpc_chttp2_parse_error grpc_chttp2_data_parser_parse( } } - gpr_log(GPR_ERROR, "should never reach here"); - abort(); - return GRPC_CHTTP2_CONNECTION_ERROR; + GPR_UNREACHABLE_CODE(return GRPC_CHTTP2_CONNECTION_ERROR); } |