From ebcd07f6aab4d119cd3c718cfd2b6a623863a11f Mon Sep 17 00:00:00 2001
From: Oleg Hahm <oleg@hobbykeller.org>
Date: Wed, 22 Jul 2015 15:12:42 +0200
Subject: [PATCH] sixlowpan: suppress clang-analyzer report

---
 sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c b/sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c
index 809a664310..f2c60f199e 100644
--- a/sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c
+++ b/sys/net/network_layer/ng_sixlowpan/ng_sixlowpan.c
@@ -237,6 +237,9 @@ static void _send(ng_pktsnip_t *pkt)
         payload_len++;
     }
 #else
+    /* suppress clang-analyzer report about iface being not read */
+    (void) iface;
+
     DEBUG("6lo: Send uncompressed\n");
 
     sixlowpan = ng_pktbuf_add(NULL, NULL, sizeof(uint8_t), NG_NETTYPE_SIXLOWPAN);
-- 
GitLab