From 8c044c016356fc713537bb1a663440aba08f1839 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Fri, 26 Jun 2020 09:07:28 +0200 Subject: [PATCH] gnrc/ipv6_ext_opt: fix compilation with NDEBUG --- sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c b/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c index 54cef17f43..0ae765e131 100644 --- a/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c +++ b/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c @@ -51,6 +51,7 @@ static bool _multicast_dst(gnrc_pktsnip_t *pkt) gnrc_pktsnip_t *gnrc_ipv6_ext_opt_process(gnrc_pktsnip_t *pkt, uint8_t protnum) { + (void)protnum; assert(pkt != NULL); assert((protnum == PROTNUM_IPV6_EXT_HOPOPT) || (protnum == PROTNUM_IPV6_EXT_DST));