From: Dean Camera Date: Sat, 22 Sep 2012 12:30:37 +0000 (+0000) Subject: Add CPPCheck supression in the Webserver project, as the latest CPPCheck development... X-Git-Tag: LUFA-130303~30 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/e471f7c78dd78ec6a9d432cead81e94a16af9261 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. --- diff --git a/Projects/Webserver/Lib/uIPManagement.c b/Projects/Webserver/Lib/uIPManagement.c index eb42bf2b0..3dd9612ee 100644 --- a/Projects/Webserver/Lib/uIPManagement.c +++ b/Projects/Webserver/Lib/uIPManagement.c @@ -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)