From 36e826c48c9a380cf8b6bff7b4c2ab085ccf3f99 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 3 May 2024 20:21:04 +0000 Subject: [PATCH] x --- src/core/ext/transport/chaotic_good/server_transport.cc | 4 ++-- src/core/lib/surface/call.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/ext/transport/chaotic_good/server_transport.cc b/src/core/ext/transport/chaotic_good/server_transport.cc index a028d86215a..98fbf4e915e 100644 --- a/src/core/ext/transport/chaotic_good/server_transport.cc +++ b/src/core/ext/transport/chaotic_good/server_transport.cc @@ -376,8 +376,8 @@ ChaoticGoodServerTransport::ChaoticGoodServerTransport( void ChaoticGoodServerTransport::SetCallDestination( RefCountedPtr call_destination) { - CHECK_EQ(call_destination_, nullptr); - CHECK_NE(call_destination, nullptr); + CHECK(call_destination_ == nullptr); + CHECK(call_destination != nullptr); call_destination_ = call_destination; got_acceptor_.Set(); } diff --git a/src/core/lib/surface/call.cc b/src/core/lib/surface/call.cc index 95220d262d6..67656c68464 100644 --- a/src/core/lib/surface/call.cc +++ b/src/core/lib/surface/call.cc @@ -3218,7 +3218,7 @@ class ServerCall final : public Call, public DualRefCounted { return call_handler_.legacy_context()[elem].value; } - void SetCompletionQueue(grpc_completion_queue* cq) override { + void SetCompletionQueue(grpc_completion_queue*) override { Crash("unimplemented"); }