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

found by coverity
This commit is contained in:
Ilya Shipitsin committed 2018-08-12 16:12:48 +05:00
1 parent 595245cd45
commit e302cb5f74
1 file changed
-5
-5
View File
@@ -2142,11 +2142,6 @@ PPP_PACKET *ParsePPPPacket(void *data, UINT size)
buf = (UCHAR *)data;
// Address
if (size < 1)
{
goto LABEL_ERROR;
}
if (buf[0] != 0xff)
{
goto LABEL_ERROR;