mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-20 15:40:55 +00:00
Re-included unneeded cases in do_disconnect() and do_send() to prevent warnings.
This commit is contained in:
parent
7f5d6bc964
commit
613644bfc6
@ -514,6 +514,10 @@ do_disconnect(struct api_msg_msg *msg)
|
||||
udp_disconnect(msg->conn->pcb.udp);
|
||||
break;
|
||||
#endif /* LWIP_UDP */
|
||||
case NETCONN_TCP:
|
||||
case NETCONN_RAW:
|
||||
/* nothing to do */
|
||||
break;
|
||||
}
|
||||
sys_mbox_post(msg->conn->mbox, NULL);
|
||||
}
|
||||
@ -573,6 +577,9 @@ do_send(struct api_msg_msg *msg)
|
||||
}
|
||||
break;
|
||||
#endif /* LWIP_UDP */
|
||||
case NETCONN_TCP:
|
||||
/* nothing to do */
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user