loolwsd/test/httpwserror.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit 620c08a32d68fa179f0b7e93f4808a2c301240da Author: Tor Lillqvist <t...@collabora.com> Date: Tue Oct 18 09:02:03 2016 +0300 Bin pointless copy-pasted (?) code snippet We did not use the 'request' variable for anyhthing. diff --git a/loolwsd/test/httpwserror.cpp b/loolwsd/test/httpwserror.cpp index 75ccc67..1e35593 100644 --- a/loolwsd/test/httpwserror.cpp +++ b/loolwsd/test/httpwserror.cpp @@ -101,18 +101,16 @@ void HTTPWSError::testMaxDocuments() try { // Load a document. - std::string docPath; - std::string docURL; std::vector<std::shared_ptr<Poco::Net::WebSocket>> docs; for (int it = 1; it <= MAX_DOCUMENTS; ++it) { - getDocumentPathAndURL("empty.odt", docPath, docURL); - Poco::Net::HTTPRequest request(Poco::Net::HTTPRequest::HTTP_GET, docURL); docs.emplace_back(loadDocAndGetSocket("empty.odt", _uri, testname)); } // try to open MAX_DOCUMENTS + 1 + std::string docPath; + std::string docURL; getDocumentPathAndURL("empty.odt", docPath, docURL); Poco::Net::HTTPRequest request(Poco::Net::HTTPRequest::HTTP_GET, docURL); std::unique_ptr<Poco::Net::HTTPClientSession> session(helpers::createSession(_uri)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits