Skip to content

Commit

Permalink
Merge pull request #14683 from miri64/gnrc_sixlowpan_frag_vrb/fix/cpp…
Browse files Browse the repository at this point in the history
…check-warning

gnrc_sixlowpan_frag_vrb: fix cppcheck warning
  • Loading branch information
miri64 authored Aug 3, 2020
2 parents 4964e4c + 5885293 commit b043e1f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,8 @@ gnrc_sixlowpan_frag_vrb_t *gnrc_sixlowpan_frag_vrb_add(
while (tmp->next != NULL) {
if (tmp == base->ints) {
tmp = NULL;
break;
}
/* cppcheck-suppress nullPointer
* (reason: possible bug in cppcheck, tmp can't
* clearly be a NULL pointer here) */
tmp = tmp->next;
}
if (tmp != NULL) {
Expand Down

0 comments on commit b043e1f

Please sign in to comment.