Explorar el Código

Fix the unused result error in client_channel_stress_test.cc.

Guantao Liu hace 7 años
padre
commit
18ba787392
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/cpp/client/client_channel_stress_test.cc

+ 1 - 1
test/cpp/client/client_channel_stress_test.cc

@@ -245,7 +245,7 @@ class ClientChannelStressTest {
       EchoResponse response;
       EchoResponse response;
       {
       {
         std::lock_guard<std::mutex> lock(stub_mutex_);
         std::lock_guard<std::mutex> lock(stub_mutex_);
-        stub_->Echo(&context, request, &response);
+        Status status = stub_->Echo(&context, request, &response);
       }
       }
     }
     }
     gpr_log(GPR_INFO, "Finish sending requests.");
     gpr_log(GPR_INFO, "Finish sending requests.");