mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-04-25 00:02:41 +00:00
LWIP_MPU_COMPATIBLE: help dumb compilers to see 'msg' is used (MSVC :(
This commit is contained in:
parent
806298583b
commit
f98c3dd4b5
@ -445,6 +445,9 @@ netconn_recv_data(struct netconn *conn, void **new_buf)
|
|||||||
err_t err;
|
err_t err;
|
||||||
#if LWIP_TCP
|
#if LWIP_TCP
|
||||||
API_MSG_VAR_DECLARE(msg);
|
API_MSG_VAR_DECLARE(msg);
|
||||||
|
#if LWIP_MPU_COMPATIBLE
|
||||||
|
msg = NULL;
|
||||||
|
#endif
|
||||||
#endif /* LWIP_TCP */
|
#endif /* LWIP_TCP */
|
||||||
|
|
||||||
LWIP_ERROR("netconn_recv: invalid pointer", (new_buf != NULL), return ERR_ARG;);
|
LWIP_ERROR("netconn_recv: invalid pointer", (new_buf != NULL), return ERR_ARG;);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user