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"); }