From 6040249a61020aca939c88a5d2af67a429221d1d Mon Sep 17 00:00:00 2001 From: weiyongji <232589621@qq.com> Date: Sat, 1 Jun 2019 11:31:23 +0800 Subject: [PATCH] fix a windows compile warning --- .../resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc b/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc index 85f5cd84ca0..7d5215938e3 100644 --- a/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +++ b/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc @@ -231,7 +231,6 @@ class GrpcPolledFdWindows : public GrpcPolledFd { ares_ssize_t TrySendWriteBufSyncNonBlocking() { GPR_ASSERT(write_state_ == WRITE_IDLE); - ares_ssize_t total_sent; DWORD bytes_sent = 0; if (SendWriteBuf(&bytes_sent, nullptr) != 0) { int wsa_last_error = WSAGetLastError();