1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

gnrc/ipv6_ext_opt: fix compilation with NDEBUG

This commit is contained in:
Gunar Schorcht 2020-06-26 09:07:28 +02:00
parent 6347dcdffc
commit 8c044c0163

View File

@ -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));