From b5305d5a8cb12fc2c7f69cba1259f8864635a6a5 Mon Sep 17 00:00:00 2001 From: Ivan Delamer Date: Fri, 12 Aug 2011 09:04:29 -0600 Subject: [PATCH] Initialize recvmbox size for undefined netconn type, to supress compiler warning. Change-Id: I14c3f1786a8ca3513b5d4cf375c4951e4c09ebd6 --- src/api/api_msg.c | 1 + 1 file changed, 1 insertion(+) 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