forked from mfulz_github/qmk_firmware
Add CPPCheck supression in the Webserver project, as the latest CPPCheck development code appears to falsely warn on the global uip_len variable when it is tested multiple times.
This commit is contained in:
parent
9da01ee78b
commit
e471f7c78d
|
@ -189,6 +189,7 @@ static void uIPManagement_ProcessIncomingPacket(void)
|
|||
}
|
||||
|
||||
/* If the packet contains an Ethernet frame, process it */
|
||||
// cppcheck-suppress redundantOperationIn
|
||||
if (uip_len > 0)
|
||||
{
|
||||
switch (((struct uip_eth_hdr*)uip_buf)->type)
|
||||
|
|
Loading…
Reference in New Issue