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.

pull/1469/head
Dean Camera 12 years ago
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…
Cancel
Save