mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-06 00:31:10 +01:00
fix(tests): CodeQL warnings
This commit is contained in:
parent
c95ac60a6e
commit
a106ebd1f1
@ -113,7 +113,7 @@ void SecureStreamSocketTest::testSendReceive()
|
|||||||
{
|
{
|
||||||
received.append(buffer, rc);
|
received.append(buffer, rc);
|
||||||
}
|
}
|
||||||
else if (n == 0)
|
else if (rc == 0)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -188,7 +188,7 @@ void SecureStreamSocketTest::testNB()
|
|||||||
{
|
{
|
||||||
received.append(buffer, rc);
|
received.append(buffer, rc);
|
||||||
}
|
}
|
||||||
else if (n == 0)
|
else if (rc == 0)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -113,7 +113,7 @@ void SecureStreamSocketTest::testSendReceive()
|
|||||||
{
|
{
|
||||||
received.append(buffer, rc);
|
received.append(buffer, rc);
|
||||||
}
|
}
|
||||||
else if (n == 0)
|
else if (rc == 0)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -188,7 +188,7 @@ void SecureStreamSocketTest::testNB()
|
|||||||
{
|
{
|
||||||
received.append(buffer, rc);
|
received.append(buffer, rc);
|
||||||
}
|
}
|
||||||
else if (n == 0)
|
else if (rc == 0)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user