Commit e471f7c7 authored by Dean Camera's avatar Dean Camera
Browse files

Add CPPCheck supression in the Webserver project, as the latest CPPCheck...

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.
parent 9da01ee7
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment