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

found by coverity
This commit is contained in:
Ilya Shipitsin committed 2018-08-12 16:17:56 +05:00
1 parent 981e8d0e77
commit b8af87adc1
1 file changed
-5
-5
View File
@@ -1623,11 +1623,6 @@ OPENVPN_PACKET *OvsParsePacket(UCHAR *data, UINT size)
ret = ZeroMalloc(sizeof(OPENVPN_PACKET));
// OpCode + KeyID
if (size < 1)
{
goto LABEL_ERROR;
}
uc = *((UCHAR *)data);
data++;
size--;