From 3e2a80b40d77e093c3d1aabedc16015478ee4bee Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Sat, 15 Jun 2024 22:31:32 -0700 Subject: [PATCH] x --- src/core/lib/transport/call_filters.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/core/lib/transport/call_filters.cc b/src/core/lib/transport/call_filters.cc index 4b9094d4710..627ebd6303a 100644 --- a/src/core/lib/transport/call_filters.cc +++ b/src/core/lib/transport/call_filters.cc @@ -358,6 +358,7 @@ Poll CallState::PollPushClientToServerMessage() { case ClientToServerPushState::kFinished: return Failure{}; } + Crash("Unreachable"); } void CallState::ClientToServerHalfClose() { @@ -460,6 +461,7 @@ Poll> CallState::PollPullClientToServerMessageAvailable() { client_to_server_pull_state_ = ClientToServerPullState::kTerminated; return Failure{}; } + Crash("Unreachable"); } void CallState::FinishPullClientToServerMessage() { @@ -568,6 +570,7 @@ Poll CallState::PollPushServerToClientMessage() { case ServerToClientPushState::kFinished: return Failure{}; } + Crash("Unreachable"); } bool CallState::PushServerTrailingMetadata(bool cancel) { @@ -671,6 +674,7 @@ Poll CallState::PollPullServerInitialMetadataAvailable() { case ServerToClientPushState::kTrailersOnly: return false; } + Crash("Unreachable"); } void CallState::FinishPullServerInitialMetadata() { @@ -774,6 +778,7 @@ Poll> CallState::PollPullServerToClientMessageAvailable() { server_to_client_pull_waiter_.Wake(); return Failure{}; } + Crash("Unreachable"); } void CallState::FinishPullServerToClientMessage() { @@ -849,6 +854,7 @@ Poll CallState::PollServerTrailingMetadataAvailable() { case ServerToClientPullState::kTerminated: return Empty{}; } + Crash("Unreachable"); } void CallState::FinishPullServerTrailingMetadata() { @@ -890,6 +896,7 @@ Poll CallState::PollWasCancelled() { case ServerTrailingMetadataState::kPulledCancel: return true; } + Crash("Unreachable"); } std::string CallState::DebugString() const {