From 9c53f9c6f3c4a1b84e7de4106e723f93c35d55d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cle=CC=81ment=20Kunz?= Date: Tue, 26 Mar 2024 14:49:21 +0100 Subject: [PATCH] Remove unused variable --- test/libsyncengine/jobs/testjobmanager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/libsyncengine/jobs/testjobmanager.cpp b/test/libsyncengine/jobs/testjobmanager.cpp index 8ca7d4255..4f99ed96d 100644 --- a/test/libsyncengine/jobs/testjobmanager.cpp +++ b/test/libsyncengine/jobs/testjobmanager.cpp @@ -354,7 +354,7 @@ void sendTestRequest(Poco::Net::HTTPSClientSession &session, const bool resetSes std::cout << "receiving response" << std::endl; Poco::Net::HTTPResponse response; - std::istream& rs = session.receiveResponse(response); + session.receiveResponse(response); std::cout << "socket connected: " << connected << std::endl; std::cout << "session connected: " << session.connected() << std::endl; @@ -394,8 +394,6 @@ void TestJobManager::testReuseSocket() CPPUNIT_ASSERT(!session.socket().impl()->initialized()); sendTestRequest(session, true); // Doing twice, so we can see in console that the socket is not connected anymore CPPUNIT_ASSERT(!session.socket().impl()->initialized()); - - } } // namespace KDC