mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
src/Cedar/IPsec_PPP.c: remove logically dead code
found by coverity
This commit is contained in:
parent
595245cd45
commit
e302cb5f74
@ -2142,11 +2142,6 @@ PPP_PACKET *ParsePPPPacket(void *data, UINT size)
|
|||||||
|
|
||||||
buf = (UCHAR *)data;
|
buf = (UCHAR *)data;
|
||||||
|
|
||||||
// Address
|
|
||||||
if (size < 1)
|
|
||||||
{
|
|
||||||
goto LABEL_ERROR;
|
|
||||||
}
|
|
||||||
if (buf[0] != 0xff)
|
if (buf[0] != 0xff)
|
||||||
{
|
{
|
||||||
goto LABEL_ERROR;
|
goto LABEL_ERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user