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

sys/net/gnrc: make cppcheck happy

This commit is contained in:
Marian Buschsieweke 2021-11-16 14:49:59 +01:00
parent 50be359a96
commit 6907bdf140
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -1401,7 +1401,7 @@ static int _resend_frag(clist_node_t *node, void *fbuf_ptr)
cur_frag_size = _find_offset_and_copy_rest(data, &pkt, frag_size,
frag_desc->offset);
/* copy remaining packet snips */
cur_frag_size = _copy_pkt_to_frag(data, pkt, frag_size, cur_frag_size);
_copy_pkt_to_frag(data, pkt, frag_size, cur_frag_size);
DEBUG("6lo sfr: resending fragment (retry: %u, tag: %u, X: %i, seq: %u, "
"frag_size: %u, %s: %u)\n", frag_desc->retries,
hdr->base.tag, sixlowpan_sfr_rfrag_ack_req(hdr),