diff --git a/Net/testsuite/src/SocketReactorTest.cpp b/Net/testsuite/src/SocketReactorTest.cpp index 1cd9676ff6..b9e2efa61c 100644 --- a/Net/testsuite/src/SocketReactorTest.cpp +++ b/Net/testsuite/src/SocketReactorTest.cpp @@ -504,7 +504,7 @@ void SocketReactorTest::testDataCollection() " \"ts\":\"1524864651000001\"," " \"data\":123" "}\n"); - int n = sock.sendBytes(data0.data(), static_cast(data0.size())); + sock.sendBytes(data0.data(), static_cast(data0.size())); std::string data1("{" " \"src\":\"127.0.0.1\"," " \"id\":\"test1\"," @@ -520,7 +520,7 @@ void SocketReactorTest::testDataCollection() " }" " ]" "}\n"); - n = sock.sendBytes(data1.data(), static_cast(data1.size())); + sock.sendBytes(data1.data(), static_cast(data1.size())); std::string data2 = "{" " \"src\":\"127.0.0.1\"," " \"id\":\"test2\"," @@ -557,7 +557,7 @@ void SocketReactorTest::testDataCollection() " }" " ]" "}\n"; - n = sock.sendBytes(data2.data(), static_cast(data2.size())); + sock.sendBytes(data2.data(), static_cast(data2.size())); Thread::sleep(500); reactor.stop(); thread.join();