From e471f7c78dd78ec6a9d432cead81e94a16af9261 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 22 Sep 2012 12:30:37 +0000 Subject: 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. --- Projects/Webserver/Lib/uIPManagement.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Projects/Webserver/Lib') 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) -- cgit v1.2.3