1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

ng_sixlowpan: piggy-back cppcheck suppression

This commit is contained in:
Martine Lenders 2015-06-19 17:14:42 +02:00
parent 74430228cb
commit 245c51f821

View File

@ -165,6 +165,8 @@ void _send(ng_pktsnip_t *pkt)
/* cppcheck-suppress unreadVariable */ /* cppcheck-suppress unreadVariable */
size_t payload_len, datagram_size; size_t payload_len, datagram_size;
uint16_t max_frag_size; uint16_t max_frag_size;
/* cppcheck: disp is needed in other build paths on this level already */
/* cppcheck-suppress variableScope */
uint8_t *disp; uint8_t *disp;
if ((pkt == NULL) || (pkt->size < sizeof(ng_netif_hdr_t))) { if ((pkt == NULL) || (pkt->size < sizeof(ng_netif_hdr_t))) {