Skip to content
Snippets Groups Projects
Commit 9e3ce7b5 authored by Martine Lenders's avatar Martine Lenders
Browse files

emb6_sock_udp: fix typo in cppcheck suppression

parent 0d5dafe9
No related branches found
No related tags found
No related merge requests found
......@@ -235,7 +235,7 @@ int sock_udp_send(sock_udp_t *sock, const void *data, size_t len,
else if (sock->sock.udp_conn->rport == 0) {
return -ENOTCONN;
}
/* cppcheck-supress nullPointerRedundantCheck
/* cppcheck-suppress nullPointerRedundantCheck
* 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment