From a077dc578270afc2c799bbc41fb4a1eef84c9c9e Mon Sep 17 00:00:00 2001
From: Martine Lenders <m.lenders@fu-berlin.de>
Date: Tue, 6 Nov 2018 10:02:13 +0100
Subject: [PATCH] emb6_sock_udp: unify cppcheck-suppress reason with others

---
 pkg/emb6/contrib/sock/udp/emb6_sock_udp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/emb6/contrib/sock/udp/emb6_sock_udp.c b/pkg/emb6/contrib/sock/udp/emb6_sock_udp.c
index 193e16010c..433b1d813d 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) {
-- 
GitLab