From 015cff75fd185232531f848b62fdb8bdc2f40b60 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Fri, 5 Oct 2018 10:49:21 +0200 Subject: [PATCH] Fix "switch missing default case" in dhcp.c --- src/core/ipv4/dhcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/ipv4/dhcp.c b/src/core/ipv4/dhcp.c index d2cbc875..0f2da8f8 100644 --- a/src/core/ipv4/dhcp.c +++ b/src/core/ipv4/dhcp.c @@ -327,6 +327,8 @@ dhcp_conflict_callback(struct netif *netif, acd_callback_enum_t state) /* Let the DHCP server know we will not use the address */ dhcp_decline(netif); break; + default: + break; } }