diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-22 12:30:37 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-22 12:30:37 +0000 |
commit | e471f7c78dd78ec6a9d432cead81e94a16af9261 (patch) | |
tree | b4c1a17b05d9ef18827f4a0de559bc09f6e0448d /Projects/Webserver | |
parent | 9da01ee78b59bcaed0d73e3f77d2f284885bfc76 (diff) | |
download | lufa-e471f7c78dd78ec6a9d432cead81e94a16af9261.tar.gz lufa-e471f7c78dd78ec6a9d432cead81e94a16af9261.tar.bz2 lufa-e471f7c78dd78ec6a9d432cead81e94a16af9261.zip |
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.
Diffstat (limited to 'Projects/Webserver')
-rw-r--r-- | Projects/Webserver/Lib/uIPManagement.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |