[lang/c++] Make new LLVM version compile with unused variable (#34230)

LLVM is making the unused variable warning a default:
92023b1509
This will make grpc compile after this LLVM update.

(release notes: no)
pull/34311/head
Andre Gaschler 1 year ago committed by GitHub
parent 768a224711
commit 5aa1d19af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/lib/channel/connected_channel.cc

@ -548,7 +548,7 @@ ArenaPromise<ServerMetadataHandle> MakeClientCallPromise(
}
if (!done_recv_messages) {
auto p = recv_messages();
if (auto* r = p.value_if_ready()) {
if (p.ready()) {
// NOTE: ignore errors here, they'll be collected in the
// recv_trailing_metadata.
done_recv_messages = true;

Loading…
Cancel
Save