fix a windows compile warning

pull/19203/head
weiyongji 6 years ago
parent 7fce9da88f
commit 6040249a61
  1. 1
      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();

Loading…
Cancel
Save