Skip to content
Snippets Groups Projects
Commit 93f65043 authored by Sören Tempel's avatar Sören Tempel
Browse files

gnrc: fix build of gnrc_ipv6_blacklist when ENABLE_DEBUG is disabled

Without this commit it doesn't build because addr_str isn't defined when
ENABLE_DEBUG is not set.

This issue was introduced in: c001e14f
parent ce438460
No related branches found
No related tags found
No related merge requests found
......@@ -25,9 +25,7 @@
ipv6_addr_t gnrc_ipv6_blacklist[GNRC_IPV6_BLACKLIST_SIZE];
BITFIELD(gnrc_ipv6_blacklist_set, GNRC_IPV6_BLACKLIST_SIZE);
#if ENABLE_DEBUG
static char addr_str[IPV6_ADDR_MAX_STR_LEN];
#endif
int gnrc_ipv6_blacklist_add(const ipv6_addr_t *addr)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment