mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Initialize recvmbox size for undefined netconn type, to supress
compiler warning. Change-Id: I14c3f1786a8ca3513b5d4cf375c4951e4c09ebd6
This commit is contained in:
parent
17efa04ea6
commit
b5305d5a8c
@ -601,6 +601,7 @@ netconn_alloc(enum netconn_type t, netconn_callback callback)
|
|||||||
#endif /* LWIP_TCP */
|
#endif /* LWIP_TCP */
|
||||||
default:
|
default:
|
||||||
LWIP_ASSERT("netconn_alloc: undefined netconn_type", 0);
|
LWIP_ASSERT("netconn_alloc: undefined netconn_type", 0);
|
||||||
|
size = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user