diff --git a/src/api/api_msg.c b/src/api/api_msg.c index 9d0895ac..54fbabcf 100644 --- a/src/api/api_msg.c +++ b/src/api/api_msg.c @@ -601,6 +601,7 @@ netconn_alloc(enum netconn_type t, netconn_callback callback) #endif /* LWIP_TCP */ default: LWIP_ASSERT("netconn_alloc: undefined netconn_type", 0); + size = 0; break; } #endif