remove unnecessary conversion (#31342)

pull/31397/head
Craig Tiller 2 years ago committed by GitHub
parent d05830cb02
commit 51ab596d44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/core/lib/iomgr/error.cc

@ -173,9 +173,6 @@ bool grpc_error_get_str(grpc_error_handle error,
case absl::StatusCode::kOk:
*s = "";
return true;
case absl::StatusCode::kResourceExhausted:
*s = "RESOURCE_EXHAUSTED";
return true;
case absl::StatusCode::kCancelled:
*s = "CANCELLED";
return true;

Loading…
Cancel
Save