Initialize recvmbox size for undefined netconn type, to supress

compiler warning.

Change-Id: I14c3f1786a8ca3513b5d4cf375c4951e4c09ebd6
This commit is contained in:
Ivan Delamer 2011-08-12 09:04:29 -06:00
parent 17efa04ea6
commit b5305d5a8c

View File

@ -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