diff --git a/pkg/emb6/contrib/sock/udp/emb6_sock_udp.c b/pkg/emb6/contrib/sock/udp/emb6_sock_udp.c index 193e16010c4a0b984f7158ff9a4ac1fa610807ae..433b1d813db1dd061f1ec2efb778de725baded3f 100644 --- a/pkg/emb6/contrib/sock/udp/emb6_sock_udp.c +++ b/pkg/emb6/contrib/sock/udp/emb6_sock_udp.c @@ -236,10 +236,10 @@ int sock_udp_send(sock_udp_t *sock, const void *data, size_t len, return -ENOTCONN; } /* cppcheck-suppress nullPointerRedundantCheck - * remote == NULL implies that sock != NULL (see assert at start of + * (reason: remote == NULL implies that sock != NULL (see assert at start of * function) * that's why it is okay in the if-statement above to check * sock->... without checking (sock != NULL) first => this check afterwards - * isn't redundant */ + * isn't redundant) */ if (sock == NULL) { int res; if ((res = _reg(&tmp, NULL, NULL, NULL, NULL)) < 0) {