remove defaut case in grpc_call_error_to_string

pull/6196/head
Yuchen Zeng 9 years ago
parent 2e7d957a63
commit f02bada24f
  1. 3
      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"; return "GRPC_CALL_ERROR_TOO_MANY_OPERATIONS";
case GRPC_CALL_OK: case GRPC_CALL_OK:
return "GRPC_CALL_OK"; return "GRPC_CALL_OK";
default:
return "GRPC_CALL_ERROR_UNKNOW";
} }
GPR_UNREACHABLE_CODE(return "GRPC_CALL_ERROR_UNKNOW");
} }

Loading…
Cancel
Save