1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-26 11:29:53 +03:00

src/Cedar/Virtual: coverity suspects null pointer dereference here

however, both Cancel() and ReleaseCancel() checks for NULL themselves,
so we can remove this check
This commit is contained in:
Ilya Shipitsin 2018-08-22 10:33:29 +05:00
parent 4b49540750
commit 5ecc80a14e

View File

@ -1995,13 +1995,10 @@ LABEL_RESTART:
}
Unlock(t->CancelLock);
if (c != NULL)
{
Cancel(c);
ReleaseCancel(c);
}
}
if (IsTubeConnected(ipc->Sock->RecvTube) == false || IsTubeConnected(ipc->Sock->SendTube) == false)
{