mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-21 15:51:43 +02:00
fix(tests): remove unused variables
This commit is contained in:
@@ -684,7 +684,6 @@ void SocketTest::testSendFile()
|
|||||||
|
|
||||||
Poco::FileInputStream istr(file.path());
|
Poco::FileInputStream istr(file.path());
|
||||||
std::streamsize sent = 0;
|
std::streamsize sent = 0;
|
||||||
std::streamoff off = 0;
|
|
||||||
while (sent < file.getSize())
|
while (sent < file.getSize())
|
||||||
{
|
{
|
||||||
sent += ss.sendFile(istr, sent);
|
sent += ss.sendFile(istr, sent);
|
||||||
|
@@ -221,7 +221,6 @@ void SecureStreamSocketTest::testSendFile()
|
|||||||
|
|
||||||
Poco::FileInputStream istr(file.path());
|
Poco::FileInputStream istr(file.path());
|
||||||
std::streamsize sent = 0;
|
std::streamsize sent = 0;
|
||||||
std::streamoff off = 0;
|
|
||||||
while (sent < file.getSize())
|
while (sent < file.getSize())
|
||||||
{
|
{
|
||||||
sent += ss.sendFile(istr, sent);
|
sent += ss.sendFile(istr, sent);
|
||||||
|
Reference in New Issue
Block a user