diff options
author | 2015-10-09 15:07:39 -0700 | |
---|---|---|
committer | 2015-10-09 15:07:39 -0700 | |
commit | 4c351aafedb51d5a0a02eb603af8e9a6a499453f (patch) | |
tree | 1b9ec0146578b3061b4d66230d2d36f84d147380 /src/core/channel | |
parent | 798d8ba25f240213889d4fddd0927e0cfb9e26b1 (diff) | |
parent | 90540b4338943f388434ccfade4bb20cace4c777 (diff) |
Merge pull request #3701 from yang-g/unreachable
mark unreachable code with a macro
Diffstat (limited to 'src/core/channel')
-rw-r--r-- | src/core/channel/client_channel.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/channel/client_channel.c b/src/core/channel/client_channel.c index 8e7cb27cfd..08aa721a4d 100644 --- a/src/core/channel/client_channel.c +++ b/src/core/channel/client_channel.c @@ -645,9 +645,7 @@ static void destroy_call_elem(grpc_exec_ctx *exec_ctx, case CALL_WAITING_FOR_CONFIG: case CALL_WAITING_FOR_CALL: case CALL_WAITING_FOR_SEND: - gpr_log(GPR_ERROR, "should never reach here"); - abort(); - break; + GPR_UNREACHABLE_CODE(return ); } } |