Fix unreachable code warning (#28361)

pull/28364/head
Craig Tiller 3 years ago committed by GitHub
parent 160eb7eca0
commit ecf946e3a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/core/lib/transport/timeout_encoding.cc

@ -88,6 +88,7 @@ grpc_millis Timeout::AsDuration() const {
case Unit::kHours:
return value * 1000 * kSecondsPerHour;
}
GPR_UNREACHABLE_CODE(return -1);
}
Slice Timeout::Encode() const {

Loading…
Cancel
Save