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:
Dean Camera 2012-09-22 12:30:37 +00:00
parent 9da01ee78b
commit e471f7c78d
1 changed files with 1 additions and 0 deletions

View File

@ -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)