[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6: fix scan-build errors (#12274)

Martine Lenders notifications at github.com
Thu Sep 19 15:35:54 CEST 2019

miri64 commented on this pull request.

> @@ -529,6 +529,9 @@ static void _handle_rtr_sol(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6,
         _snd_rtr_advs(netif, &ipv6->src, false);
 #endif  /* GNRC_IPV6_NIB_CONF_6LR */
+    else {
+        (void)nce;  /* NCE is not used */
+    }

Mh, but `gnrc_netif_is_6ln(netif)` is only not always false `#if GNRC_IPV6_NIB_CONF_6LN`, so there are cases, when `#if !GNRC_IPV6_NIB_CONF_6LR` and `nce` is not used.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190919/0b95a39b/attachment-0001.htm>

More information about the notifications mailing list