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

src/Cedar/Interop_OpenVPN.c: remove logically dead code

found by coverity
This commit is contained in:
Ilya Shipitsin 2018-08-12 16:17:56 +05:00
parent 981e8d0e77
commit b8af87adc1

View File

@ -1623,11 +1623,6 @@ OPENVPN_PACKET *OvsParsePacket(UCHAR *data, UINT size)
ret = ZeroMalloc(sizeof(OPENVPN_PACKET)); ret = ZeroMalloc(sizeof(OPENVPN_PACKET));
// OpCode + KeyID
if (size < 1)
{
goto LABEL_ERROR;
}
uc = *((UCHAR *)data); uc = *((UCHAR *)data);
data++; data++;
size--; size--;