[riot-notifications] [RIOT-OS/RIOT] gnrc_netif_hdr: add setter for netif (#10661)

Martine Lenders notifications at github.com
Tue Sep 10 09:30:31 CEST 2019


Fixed error [pointed out by `cppcheck`](https://travis-ci.org/RIOT-OS/RIOT/builds/582651132) (however forgot to squash immediately, which I now did however... original fixup was https://github.com/RIOT-OS/RIOT/pull/10661/commits/2098cf482e0da132ada55ce3a26412688890e131):

```
diff --git a/tests/gnrc_ipv6_fwd_w_sub/main.c b/tests/gnrc_ipv6_fwd_w_sub/main.c
index d7f7c2aa1b..36ccd81fb9 100644
--- a/tests/gnrc_ipv6_fwd_w_sub/main.c
+++ b/tests/gnrc_ipv6_fwd_w_sub/main.c
@@ -131,7 +131,6 @@ static gnrc_pktsnip_t *_build_recvd_pkt(void)
 {
     gnrc_pktsnip_t *netif;
     gnrc_pktsnip_t *pkt;
-    gnrc_netif_hdr_t *netif_hdr;
 
     netif = gnrc_netif_hdr_build(NULL, 0, NULL, 0);
     assert(netif);
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10661#issuecomment-529810260
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190910/66217cb5/attachment.htm>


More information about the notifications mailing list