From e772ef5c396a2bf41ba10666dc8f0d20fddc07c0 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Fri, 15 Jan 2016 08:38:40 +0100 Subject: [PATCH] shell: netif: initialize local variable --- sys/shell/commands/sc_netif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/shell/commands/sc_netif.c b/sys/shell/commands/sc_netif.c index e2dfd2cb4d..01cb020215 100644 --- a/sys/shell/commands/sc_netif.c +++ b/sys/shell/commands/sc_netif.c @@ -199,7 +199,7 @@ static void _netif_list(kernel_pid_t dev) uint8_t u8; int res; netopt_state_t state; - netopt_enable_t enable; + netopt_enable_t enable = NETOPT_DISABLE; bool linebreak = false; #ifdef MODULE_GNRC_IPV6_NETIF