mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
rpl: Remove unused variable when building with ENABLE_DEBUG=1
Fixes /data/riotbuild/riotbase/sys/net/gnrc/routing/rpl/gnrc_rpl.c:28:13: error: 'addr_str' defined but not used [-Werror=unused-variable] static char addr_str[IPV6_ADDR_MAX_STR_LEN]; ^ when building with #define ENABLE_DEBUG (1)
This commit is contained in:
parent
8da80ee878
commit
b85ae4eeb3
@ -24,10 +24,6 @@
|
|||||||
#define ENABLE_DEBUG (0)
|
#define ENABLE_DEBUG (0)
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#if ENABLE_DEBUG && defined(MODULE_IPV6_ADDR)
|
|
||||||
static char addr_str[IPV6_ADDR_MAX_STR_LEN];
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static char _stack[GNRC_RPL_STACK_SIZE];
|
static char _stack[GNRC_RPL_STACK_SIZE];
|
||||||
kernel_pid_t gnrc_rpl_pid = KERNEL_PID_UNDEF;
|
kernel_pid_t gnrc_rpl_pid = KERNEL_PID_UNDEF;
|
||||||
static uint32_t _lt_time = GNRC_RPL_LIFETIME_UPDATE_STEP * SEC_IN_USEC;
|
static uint32_t _lt_time = GNRC_RPL_LIFETIME_UPDATE_STEP * SEC_IN_USEC;
|
||||||
|
Loading…
Reference in New Issue
Block a user