aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-04-19 14:12:27 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-04-19 14:12:27 -0700
commitf02bada24fc67bc1a6e93108ce466d969a04afd1 (patch)
treed5238c6f91fb722db2290c21b4d351ad20d7f383 /src/core/lib/surface
parent2e7d957a63c9bcfe0235f8b5d55fd9a372a32ced (diff)
remove defaut case in grpc_call_error_to_string
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r--src/core/lib/surface/call.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c
index 8deb3442de..02bc019332 100644
--- a/src/core/lib/surface/call.c
+++ b/src/core/lib/surface/call.c
@@ -1545,7 +1545,6 @@ const char *grpc_call_error_to_string(grpc_call_error error) {
return "GRPC_CALL_ERROR_TOO_MANY_OPERATIONS";
case GRPC_CALL_OK:
return "GRPC_CALL_OK";
- default:
- return "GRPC_CALL_ERROR_UNKNOW";
}
+ GPR_UNREACHABLE_CODE(return "GRPC_CALL_ERROR_UNKNOW");
}